Skip to content

Commit

Permalink
CI updated to include commit SHA in version number when creating nigh…
Browse files Browse the repository at this point in the history
…tly build
  • Loading branch information
axmmisaka committed Oct 20, 2023
1 parent 1bbc46b commit 40a8130
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
fetch-depth: 0
- name: Prepare build environment
uses: ./.github/actions/prepare-build-env
- name: Modify property file to contain the commit SHA
shell: bash
run: >
sed --regexp-extended --in-place "s/^(VERSION = .*)$/\1@$(git rev-parse --short HEAD)/" core/src/main/resources/org/lflang/StringsBundle.properties
- name: Build and package lf cli tools (nightly build)
shell: bash
run: |
Expand Down

0 comments on commit 40a8130

Please sign in to comment.