Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

fix: promote scripts uses HEAD #44

Merged
merged 1 commit into from
Feb 22, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/promote
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ do
then
echo "SHA is empty, promoting tag v$version to channel $channel"
git checkout v$version
sha=$(git rev-parse --short head)
sha=$(git rev-parse --short HEAD)
yarn promote --version $version --sha $sha --channel $channel --max-age 300 --macos --win
else
echo "Promoting $version-$sha to channel $channel"
Expand Down
2 changes: 1 addition & 1 deletion scripts/promote-stable-rc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -ex

channel="stable-rc"
read version <<< $(git describe --tags | tr -d "v")
sha=$(git rev-parse --short head)
sha=$(git rev-parse --short HEAD)
echo "Promoting $version-$sha to channel $channel"
yarn promote --version $version --sha $sha --channel $channel --max-age 300 --macos --win