Removed extra = in newVersion. Added target to release action to use the correct branch
Signed-off-by: Knut-Erik Johnsen <abstract@knut-erik.org>
This commit is contained in:
parent
f1693c4ae7
commit
306db3b9c0
|
@ -26,7 +26,7 @@ jobs:
|
||||||
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
|
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
|
||||||
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
|
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
|
||||||
- name: Set the revision property
|
- name: Set the revision property
|
||||||
run: mvn versions:set-property -Dproperty=revision "-DnewVersion==${{ github.event.inputs.releaseversion }}" -DgenerateBackupPoms=false
|
run: mvn versions:set-property -Dproperty=revision "-DnewVersion=${{ github.event.inputs.releaseversion }}" -DgenerateBackupPoms=false
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B deploy --file pom.xml -Pdeploy
|
run: mvn -B deploy --file pom.xml -Pdeploy
|
||||||
env:
|
env:
|
||||||
|
@ -40,5 +40,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
gh release create "$tag" \
|
gh release create "$tag" \
|
||||||
--repo="$GITHUB_REPOSITORY" \
|
--repo="$GITHUB_REPOSITORY" \
|
||||||
--title="${tag#v}" \
|
--title="v${tag#v}" \
|
||||||
--generate-notes
|
--generate-notes \
|
||||||
|
--target "$GITHUB_SHA"
|
Loading…
Reference in New Issue