Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek authored Jul 19, 2020
1 parent cf1d19f commit fc1c8a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,14 @@ jobs:
with:
submodules: true
- name: Set Env
shell: bash
run: |
export VERSION=$(cat version.h | sed 's/[^0-9,.]//g')
export TAG=v${VERSION}.${GITHUB_RUN_ID}.${GITHUB_RUN_NUMBER}
echo "::set-env name=VERSION::${VERSION}"
echo "::set-env name=TAG::${TAG}"
- name: Printenv
shell: bash
run: |
echo "VERSION=${VERSION}"
echo "TAG=${TAG}"
Expand Down

0 comments on commit fc1c8a7

Please sign in to comment.