Skip to content

Commit

Permalink
Pass prerelease option to nightly builds
Browse files Browse the repository at this point in the history
  • Loading branch information
r0qs committed Sep 30, 2022
1 parent e9aed38 commit 7c1a6dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/nightly-emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ jobs:
last_commit_hash=$(git rev-parse --short=8 HEAD)
solidity_version=$("scripts/get_version.sh")
nightly_version="v${solidity_version}-nightly.${last_commit_date}+commit.${last_commit_hash}"
echo "nightly.${last_commit_date}" > prerelease.txt
echo "LAST_COMMIT_DATE=${last_commit_date}" >> $GITHUB_ENV
echo "LAST_COMMIT_HASH=${last_commit_hash}" >> $GITHUB_ENV
Expand All @@ -75,7 +74,7 @@ jobs:
run: |
cd solidity/
# Note that this script will spawn and build inside a docker image (which works just fine in github actions).
scripts/build_emscripten.sh
scripts/build_emscripten.sh --prerelease "nightly.${last_commit_date}"
- name: Upload soljson.js as an artifact
if: "env.NIGHTLY_ALREADY_EXISTS == 'false'"
Expand Down

0 comments on commit 7c1a6dd

Please sign in to comment.