Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitlab/download-library-version-from-gh-actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@ while [ $(date +%s) -lt $end_time ]; do
sleep 30
done

if [ ! -f "library-version/version.txt" ]; then
echo "Failed to download library version artifact from GitHub Actions"
exit 1
fi

echo "Library Version: $(cat library-version/version.txt)"
2 changes: 2 additions & 0 deletions .gitlab/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ compute_library_version:
DDOCTOSTS_ID_TOKEN:
aud: dd-octo-sts
script: |
set -eo pipefail

if [ -z ${GH_TOKEN} ]
then
# Use dd-octo-sts to get GitHub token
Expand Down
Loading