aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-09-26 08:50:35 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-09-26 08:50:35 +0530
commit1d06d6c40fa848dd0a9b23e969f9233af4775d6f (patch)
tree8e5bea2c10edc5d60418480c2fc7ce7392fcaf1f /.github/workflows
parent5.6.3-nightly.14 [skip ci] (diff)
downloadferdium-app-1d06d6c40fa848dd0a9b23e969f9233af4775d6f.tar.gz
ferdium-app-1d06d6c40fa848dd0a9b23e969f9233af4775d6f.tar.zst
ferdium-app-1d06d6c40fa848dd0a9b23e969f9233af4775d6f.zip
chore: tag the 'recipes' submodule when tagging the main repo - to help identify which changes got included into which build. [skip ci]
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ferdi-builds.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml
index 8bf9e69cf..851eb021a 100644
--- a/.github/workflows/ferdi-builds.yml
+++ b/.github/workflows/ferdi-builds.yml
@@ -57,12 +57,17 @@ jobs:
57 MANUAL_REBUILD="${{ github.event_name == 'workflow_dispatch' }}" 57 MANUAL_REBUILD="${{ github.event_name == 'workflow_dispatch' }}"
58 VERSION_BUMP="${{ contains(github.event.inputs.message, '[version bump]') }}" 58 VERSION_BUMP="${{ contains(github.event.inputs.message, '[version bump]') }}"
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
61 # there were other changes coming from the 'develop' branch (or)
62 # this is a manual trigger with the key-phrase
61 git checkout develop 63 git checkout develop
62 TAG_NAME=$(npm version -m "%s [skip ci]" prerelease --preid=nightly) 64 TAG_NAME=$(npm version -m "%s [skip ci]" prerelease --preid=nightly)
63 git push origin develop --no-verify 65 git push origin develop --no-verify
64 git tag -f $TAG_NAME 66 git tag -f $TAG_NAME
65 git push origin --tags --no-verify 67 git push origin --tags --no-verify
68 # Also tag the submodule so as to help identify which changes went into which nightly release
69 git -C recipes tag -f $TAG_NAME
70 git -C recipes push origin --tags --no-verify
66 71
67 git checkout nightly 72 git checkout nightly
68 fi 73 fi