1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-22 11:35:21 +01:00

Change release branch contraint (#1598)

* removing the master branch release ci code execution

* updating some verbiage
This commit is contained in:
Joseph Flinn 2021-10-22 09:24:48 -07:00 committed by GitHub
parent 4e0b05571d
commit bfb050a6f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,10 +9,19 @@ jobs:
name: Create Release
runs-on: ubuntu-20.04
steps:
- name: Branch check
run: |
if [[ "$GITHUB_REF" != "refs/heads/release" ]]; then
echo "==================================="
echo "[!] Can only release from the 'release' branch"
echo "==================================="
exit 1
fi
- name: Checkout repo
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
with:
ref: rc
ref: release
- name: Retrieve Mobile release version
id: retrieve-mobile-version
@ -41,7 +50,7 @@ jobs:
with:
workflow: build.yml
workflow_conclusion: success
branch: rc
branch: release
- name: Create release
uses: ncipollo/release-action@95215a3cb6e6a1908b3c44e00b4fdb15548b1e09 # v2.8.5
@ -66,14 +75,14 @@ jobs:
- name: Checkout repo
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
with:
ref: rc
ref: release
- name: Download F-Droid .apk artifact
uses: dawidd6/action-download-artifact@b9571484721e8187f1fd08147b497129f8972c74 # v2.14.0
with:
workflow: build.yml
workflow_conclusion: success
branch: rc
branch: release
name: com.x8bit.bitwarden-fdroid.apk
- name: Set up Node