Skip to content

Commit

Permalink
Set the version based on GitHub run number
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Jun 17, 2022
1 parent 52ebbf2 commit 98806e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/enso4igv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: maven

- name: Update project version
run: cd tools/enso4igv
run: mvn versions:set -DnewVersion=`mvn -q -DforceStdout help:evaluate -Dexpression=project.version | cut -f1 -d -`.$GITHUB_RUN_NUMBER

- name: Build with Maven
run: mvn -B package --file tools/enso4igv/pom.xml
- name: Archive NBM file
Expand Down

0 comments on commit 98806e7

Please sign in to comment.