We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 115db53 commit 2ea9388Copy full SHA for 2ea9388
.github/workflows/nightly.yml
@@ -184,10 +184,9 @@ jobs:
184
TIMESTAMP=$(date +"%Y%m%d%H%M")
185
npm version prerelease --preid="$TIMESTAMP"
186
npm publish --tag staging --access public
187
- # Not updating automatically the version since this would make the staging branch diverge from the main branch
188
- #elif [ "${{ github.ref }}" == "refs/heads/master" ]; then
189
- # echo "Publishing from main, assumes version was changed before publishing"
190
- # npm publish
+ elif [ "${{ github.ref }}" == "refs/heads/master" ]; then
+ echo "Publishing from main, assumes version was changed before publishing"
+ npm publish
191
else
192
echo "Not master or staging branches, not publishing even if it is a push event"
193
fi
0 commit comments