mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-11 04:45:57 +03:00
[release] fix daily-snapshot logic (#18905)
When we manually run the daily-snapshot job to make a specific commit, the resulting release should be named based on the release commit, not the trigger commit.
This commit is contained in:
parent
f18a374767
commit
929d187a28
@ -34,9 +34,9 @@ jobs:
|
||||
eval "$(./dev-env/bin/dade-assist)"
|
||||
source $(bash-lib)
|
||||
|
||||
prefix=$(cat NIGHTLY_PREFIX)
|
||||
prefix=$(git show ${{ parameters.commit }}:sdk/NIGHTLY_PREFIX)
|
||||
if [ "${{ parameters.version }}" = "snapshot" ]; then
|
||||
release=$(./release.sh snapshot HEAD $prefix | awk '{print $2}')
|
||||
release=$(./release.sh snapshot ${{ parameters.commit }} $prefix | awk '{print $2}')
|
||||
else
|
||||
release=${{ parameters.version }}
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user