mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-20 10:59:16 +03:00
[3.1] fix dev-env in various places (#19127)
This commit is contained in:
parent
d36f676511
commit
c82a4d813b
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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)
|
||||
|
@ -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)"
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user