Skip to content

Commit

Permalink
Update release.yml: fix
Browse files Browse the repository at this point in the history
as the native releases are deployed via `mvn` they first have to be moved and not afterwards
  • Loading branch information
hohwille authored Mar 22, 2024
1 parent be4ab47 commit 9c7206d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and deploy a release including native-images
name: Release

# Runs manually
on:
Expand Down Expand Up @@ -75,8 +75,8 @@ jobs:
git commit -m "set release version to ${next_version}"
git tag -a "release/${next_version}" -m "tagged version ${next_version}"
export GPG_TTY=$TTY
mvn --settings .mvn/settings.xml -B -ntp deploy -Pdeploy -Dgpg.pin.entry.mode=loopback -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
mv ./natives/* ./cli/target/
mvn --settings .mvn/settings.xml -B -ntp deploy -Pdeploy -Dgpg.pin.entry.mode=loopback -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down

0 comments on commit 9c7206d

Please sign in to comment.