Skip to content

Commit e6a14fe

Browse files
committed
Update maven-publish action
1 parent a0fe565 commit e6a14fe

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Publish to GitHub Packages Apache Maven
2727
run: |
2828
./mvnw --batch-mode install
29-
./mvnw --batch-mode se.fortnox.changesets:changesets-maven-plugin:$(cat .changeset/VERSION):release
29+
./mvnw --batch-mode se.fortnox.changesets:changesets-maven-plugin:release
3030
./mvnw --batch-mode deploy -s $GITHUB_WORKSPACE/settings.xml
3131
env:
3232
GITHUB_TOKEN: ${{ github.token }}

pom.xml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,6 @@
119119
<build>
120120
<pluginManagement>
121121
<plugins>
122-
<plugin>
123-
<groupId>${project.groupId}</groupId>
124-
<artifactId>${project.artifactId}</artifactId>
125-
<version>${project.version}</version>
126-
</plugin>
127122
<!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
128123
<plugin>
129124
<artifactId>maven-clean-plugin</artifactId>
@@ -184,12 +179,6 @@
184179
</plugin>
185180
</plugins>
186181
</pluginManagement>
187-
<plugins>
188-
<plugin>
189-
<groupId>${project.groupId}</groupId>
190-
<artifactId>${project.artifactId}</artifactId>
191-
</plugin>
192-
</plugins>
193182
</build>
194183

195184
<distributionManagement>

0 commit comments

Comments
 (0)