Skip to content

Commit

Permalink
Update Build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bvernoux authored Oct 31, 2023
1 parent 8cabb03 commit ecf9213
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ jobs:

- name: Get app version + timestamp
id: id_version
run: echo "app_version=$(git describe --tags HEAD)-${{steps.id_date.outputs.timestamp}}" >> $GITHUB_OUTPUT
shell: bash
run: |
app_major_minor_patch=`grep -oP '(?<=VERSION = )[0-9.]+' Makefile`
echo "app_version=$app_major_minor_patch-${{steps.id_date.outputs.timestamp}}" >> $GITHUB_OUTPUT
- name: Build app
shell: bash
Expand Down Expand Up @@ -57,7 +60,10 @@ jobs:

- name: Get app version + timestamp
id: id_version
run: echo "app_version=$(git describe --tags HEAD)-${{steps.id_date.outputs.timestamp}}" >> $GITHUB_OUTPUT
shell: bash
run: |
app_major_minor_patch=`grep -oP '(?<=VERSION = )[0-9.]+' Makefile`
echo "app_version=$app_major_minor_patch-${{steps.id_date.outputs.timestamp}}" >> $GITHUB_OUTPUT
- name: Build app
run: |
Expand Down

0 comments on commit ecf9213

Please sign in to comment.