Skip to content

Commit

Permalink
fixup! fixup! adapt publish
Browse files Browse the repository at this point in the history
  • Loading branch information
datYori committed Mar 25, 2024
1 parent 8115267 commit 9c60724
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,10 @@ jobs:
cat ~/.m2/settings.xml
gpg --list-secret-keys --keyid-format=long
- name: publish
working-directory: snapi-parser
run: |
VERSION=$(git describe --tags | sed 's/^v//;s/-\([0-9]*\)-g/+\1-/')
mvn clean install -Drevision=$VERSION
mvn clean deploy -Drevision=$VERSION -P dev,deploy
echo SNAPI_PARSER_VER="${VERSION}" >> $GITHUB_ENV
- if: github.event_name == 'repository_dispatch'
uses: peter-evans/create-or-update-comment@v2
Expand Down

0 comments on commit 9c60724

Please sign in to comment.