Skip to content

Commit

Permalink
maven release plugin is completely broken
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Vullriede committed Jul 31, 2023
1 parent 317a37c commit 62877e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/maven-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
run: |
git config --global user.name "$(git --no-pager log --format=format:'%an' -n 1)"
git config --global user.email "$(git --no-pager log --format=format:'%ae' -n 1)"
mvn --batch-mode -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -P osslabz-release release:clean release:prepare release:perform -Darguments=-Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -P osslabz-release clean deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
13 changes: 1 addition & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>net.osslabz</groupId>
<artifactId>evm-abi-decoder</artifactId>
<version>0.0.8-SNAPSHOT</version>
<version>0.0.8</version>

<name>${project.groupId}:${project.artifactId}</name>
<description>Allows to decode raw input data from an EVM smart contract call (on Ethereum or a compatible chain like
Expand Down Expand Up @@ -166,17 +166,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
Expand Down

0 comments on commit 62877e2

Please sign in to comment.