diff options
author | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-07-01 05:30:27 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 00:00:27 +0000 |
commit | 1912425b21f8a93c62f3da7099a9af8cf39942dd (patch) | |
tree | 2b2795574cd99544557257d75bca5d5e5fb825de /.github/workflows/builds.yml | |
parent | Feature: Copy Ferdium info from the 'About' dialog into the clipboard (#402) (diff) | |
download | ferdium-app-1912425b21f8a93c62f3da7099a9af8cf39942dd.tar.gz ferdium-app-1912425b21f8a93c62f3da7099a9af8cf39942dd.tar.zst ferdium-app-1912425b21f8a93c62f3da7099a9af8cf39942dd.zip |
Moved tagging of the repo from the nightly build process to the post-publishing process [skip ci] (#404)
Diffstat (limited to '.github/workflows/builds.yml')
-rw-r--r-- | .github/workflows/builds.yml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index abc1b50d8..8d3a7646f 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
@@ -46,7 +46,6 @@ jobs: | |||
46 | ref: nightly | 46 | ref: nightly |
47 | submodules: recursive | 47 | submodules: recursive |
48 | fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging | 48 | fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging |
49 | # ssh-key: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} | ||
50 | - name: Use Node.js specified in the '.nvmrc' file | 49 | - name: Use Node.js specified in the '.nvmrc' file |
51 | uses: actions/setup-node@v3 | 50 | uses: actions/setup-node@v3 |
52 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} | 51 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} |
@@ -77,15 +76,9 @@ jobs: | |||
77 | # there were other changes coming from the 'develop' branch (or) | 76 | # there were other changes coming from the 'develop' branch (or) |
78 | # this is a manual trigger with the key-phrase | 77 | # this is a manual trigger with the key-phrase |
79 | git checkout develop | 78 | git checkout develop |
80 | TAG_NAME=$(npm version -m "%s [skip ci]" prerelease --preid=nightly) | 79 | npm version -m "%s [skip ci]" prerelease --preid=nightly |
81 | git commit --all --amend --no-edit --no-verify | 80 | git commit --all --amend --no-edit --no-verify |
82 | git push origin develop --no-verify | 81 | git push origin develop --no-verify |
83 | git tag -f $TAG_NAME | ||
84 | git push origin --tags --no-verify | ||
85 | # Also tag the submodule so as to help identify which changes went into which nightly release | ||
86 | # TODO: Not working due to cross-repo access issues by the github-action bot | ||
87 | # git -C recipes tag -f $TAG_NAME | ||
88 | # git -C recipes push origin --tags --no-verify | ||
89 | 82 | ||
90 | git checkout nightly | 83 | git checkout nightly |
91 | fi | 84 | fi |