1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-06 04:23:19 +00:00

constraining the releases to the rc branch (#318)

This commit is contained in:
Joseph Flinn
2021-06-01 13:50:53 -07:00
committed by GitHub
parent c42650f16b
commit 75236daeb8

View File

@@ -16,6 +16,15 @@ jobs:
package_version: ${{ steps.create_tags.outputs.package_version }}
tag_version: ${{ steps.create_tags.outputs.tag_version }}
steps:
- name: Branch check
run: |
if [[ "$GITHUB_REF" != "refs/heads/rc" ]]; then
echo "==================================="
echo "[!] Can only release from rc branch"
echo "==================================="
exit 1
fi
- name: Checkout repo
uses: actions/checkout@v2