Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Fix get-version.sh invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Porges authored Jun 22, 2022
1 parent 55a2960 commit f3a257a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,14 +282,14 @@ jobs:
dotnet format --verify-no-changes --no-restore
- name: Build Service
run: |
version=$(./src/ci/get-version.sh)
cd src/ApiService/
# Store GitHub RunID and SHA to be read by the 'info' function
echo ${GITHUB_RUN_ID} | tee ApiService/onefuzzlib/build.id
echo ${GITHUB_SHA} | tee ApiService/onefuzzlib/git.version
version=$(./src/ci/get-version.sh)
# stamp the build with version
# note that version might have a suffix of '-{sha}' from get-version.sh
if [[ "$version" =~ '-' ]]; then
Expand Down

0 comments on commit f3a257a

Please sign in to comment.