summaryrefslogtreecommitdiffstats
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-15 20:03:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-04-15 20:03:50 +0000
commit92e324f182ecf5b7afe7464ac2295855db445868 (patch)
treed90edb91f3a1e40fcbf11e1915ec78c36a998c93 /.github/workflows/release.yml
parentReleasing debian version 1.34.0-1. (diff)
downloadnetdata-92e324f182ecf5b7afe7464ac2295855db445868.tar.xz
netdata-92e324f182ecf5b7afe7464ac2295855db445868.zip
Merging upstream version 1.34.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 248e45e0..ae28c001 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -80,9 +80,15 @@ jobs:
git add packaging/version CHANGELOG.md
git commit -m "[ci skip] ${{ steps.target.outputs.message }}"
if [ "${{ steps.target.outputs.type }}" != "nightly" ]; then
- git tag ${{ github.event.inputs.version }}
+ git tag -a "${{ github.event.inputs.version }}" -m "${{ steps.target.outputs.message }}"
+ fi
+ if [ -n "${{ steps.target.outputs.new-branch }}" ]; then
+ git branch "${{ steps.target.outputs.new-branch }}"
+ fi
+ git push --tags origin "${{ steps.target.outputs.branch }}"
+ if [ -n "${{ steps.target.outputs.new-branch }}" ]; then
+ git push origin "${{ steps.target.outputs.new-branch }}"
fi
- git push --follow-tags origin ${{ steps.target.outputs.branch }}
- name: Failure Notification
uses: rtCamp/action-slack-notify@v2
env: