Skip to content

Commit f25d2d1

Browse files
committed
ci(snapshots): make sure master is checked out
1 parent 78aef8e commit f25d2d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/ci/release-snapshot.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# make sure we are on the master branch
4+
git checkout master
5+
36
git_hash=$(git rev-parse --short "$GITHUB_SHA")
47

58
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish "0.0.0-${git_hash}" \

0 commit comments

Comments
 (0)