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 e828675
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/enso4igv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: maven

- name: Update project version
run: |
cd tools/enso4igv
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 e828675

Please sign in to comment.