[3.1] fix dev-env in various places (#19127)

This commit is contained in:
Gary Verhaegen 2024-05-01 18:23:29 +02:00 committed by GitHub
parent d36f676511
commit c82a4d813b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View File

@ -68,7 +68,7 @@ jobs:
- bash: |
set -euo pipefail
eval "$(sdk/dev-env/bin/dade-assist)"
eval "$(cd sdk; dev-env/bin/dade-assist)"
cd sdk
HEAD=$(git rev-parse HEAD)
@ -126,7 +126,7 @@ jobs:
- bash: |
set -euo pipefail
eval "$(sdk/dev-env/bin/dade-assist)"
eval "$(cd sdk; dev-env/bin/dade-assist)"
AUTH=$(echo -n "OAuth:${MARKETPLACE_TOKEN}" | base64 -w0)
MARKET=$(curl -H "Authorization: Basic $AUTH" \
@ -201,7 +201,7 @@ jobs:
- bash: |
set -euo pipefail
eval "$(sdk/dev-env/bin/dade-assist)"
eval "$(cd sdk; dev-env/bin/dade-assist)"
STATS=$(mktemp)
curl https://api.github.com/repos/digital-asset/daml/releases -sSfL | gzip -9 > $STATS

View File

@ -169,7 +169,7 @@ steps:
ne(${{parameters.name_exp}}, 'm1')))
- bash: |
set -euo pipefail
eval "$(sdk/dev-env/bin/dade-assist)"
eval "$(cd sdk; dev-env/bin/dade-assist)"
mkdir -p $(Build.StagingDirectory)/release
./ci/copy-unix-release-artifacts.sh ${{parameters.release_tag}} ${{parameters.name_str}} $(Build.StagingDirectory)/release
env:

View File

@ -189,7 +189,7 @@ jobs:
targetPath: $(Build.StagingDirectory)/platform-independence/macos/
- bash: |
set -euo pipefail
eval "$(sdk/dev-env/bin/dade-assist)"
eval "$(cd sdk; dev-env/bin/dade-assist)"
DIR1=$(mktemp -d)
DIR2=$(mktemp -d)

View File

@ -127,7 +127,7 @@ jobs:
var_name: bash_lib
- bash: |
set -euo pipefail
eval "$(sdk/dev-env/bin/dade assist)"
eval "$(cd sdk; dev-env/bin/dade assist)"
source $(bash_lib)
export AUTH="$(get_gh_auth_header)"

View File

@ -110,14 +110,14 @@ jobs:
- bash: |
set -euo pipefail
# Note: this gets dev-env from the release commit, not the trigger commit
eval "$(sdk/dev-env/bin/dade-assist)"
eval "$(cd sdk; dev-env/bin/dade-assist)"
./ci/publish-artifactory.sh $(Build.StagingDirectory) $(release_tag) split
env:
AUTH: $(ARTIFACTORY_USERNAME):$(ARTIFACTORY_PASSWORD)
- bash: |
set -euo pipefail
# Note: this gets dev-env from the release commit, not the trigger commit
eval "$(sdk/dev-env/bin/dade-assist)"
eval "$(cd sdk; dev-env/bin/dade-assist)"
source $(bash-lib)
sha=$(release_sha)
short_sha=${sha:0:8}