Skip to content

Commit

Permalink
GA-releaase: levert tilbake til slik det var
Browse files Browse the repository at this point in the history
  • Loading branch information
espenwaaga authored Mar 9, 2023
1 parent 5793206 commit a60d81a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
maven-version: 3.8.7

- name: Publish artifacts
shell: bash
run: |
mvn -B -s settings.xml versions:set -DnewVersion=${{ github.event.release.tag_name }}
mvn deploy -s settings.xml -e -B -am -pl model,kontrakter -DtrimStackTrace=false -Dfile.encoding=UTF-8 -DdeployAtEnd=true
mvn deploy -s settings.xml -e --batch-mode --file pom.xml -am -pl model,kontrakter -DtrimStackTrace=false -Dchangelist= -Dsha1= -Drevision=$NEW_VERSION -Dfile.encoding=UTF-8 -DdeployAtEnd=true
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
NEW_VERSION: ${{ github.event.release.tag_name }}

0 comments on commit a60d81a

Please sign in to comment.