diff options
author | Vijay A <avijayr@protonmail.com> | 2021-07-28 10:06:33 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-07-28 10:06:33 +0530 |
commit | e4777d0bdad08209c5db6e6753b1c3d7c9bcf847 (patch) | |
tree | 7013b33c75e2682c2b418166f30674062e5d0ba6 | |
parent | 5.6.1-nightly.5 [skip ci] (diff) | |
download | ferdium-app-e4777d0bdad08209c5db6e6753b1c3d7c9bcf847.tar.gz ferdium-app-e4777d0bdad08209c5db6e6753b1c3d7c9bcf847.tar.zst ferdium-app-e4777d0bdad08209c5db6e6753b1c3d7c9bcf847.zip |
Tag the main ferdi repo when bumping the version (helpful while generating comparison urls). [skip ci]
-rw-r--r-- | .github/workflows/ferdi-builds.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index 61a710aad..b2d6f9b3f 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml | |||
@@ -59,8 +59,10 @@ jobs: | |||
59 | if [ $CHANGES_COUNT -gt 0 ] || [[ $MANUAL_REBUILD == "true" && $VERSION_BUMP == "true" ]]; then | 59 | if [ $CHANGES_COUNT -gt 0 ] || [[ $MANUAL_REBUILD == "true" && $VERSION_BUMP == "true" ]]; then |
60 | # Do the version bump in the 'develop' branch ONLY if there were other changes coming from the 'develop' branch | 60 | # Do the version bump in the 'develop' branch ONLY if there were other changes coming from the 'develop' branch |
61 | git checkout develop | 61 | git checkout develop |
62 | npm version -m "%s [skip ci]" prerelease --preid=nightly | 62 | TAG_NAME=$(npm version -m "%s [skip ci]" prerelease --preid=nightly) |
63 | git push origin develop | 63 | git push origin develop --no-verify |
64 | git tag $TAG_NAME | ||
65 | git push origin --tags --no-verify | ||
64 | 66 | ||
65 | git checkout nightly | 67 | git checkout nightly |
66 | fi | 68 | fi |