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

Commit

Permalink
fix: promote scripts use HEAD (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
RasPhilCo committed Feb 22, 2021
1 parent dd9c6c3 commit 40df7af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/promote
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
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

0 comments on commit 40df7af

Please sign in to comment.