diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-15 20:03:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-04-15 20:03:44 +0000 |
commit | d53c0e959780a6a22a15d52a402f52b3264858e1 (patch) | |
tree | fb94175593c65a3dffccef33ace4e035bf468be9 /.github/workflows/release.yml | |
parent | Adding upstream version 1.34.0. (diff) | |
download | netdata-d53c0e959780a6a22a15d52a402f52b3264858e1.tar.xz netdata-d53c0e959780a6a22a15d52a402f52b3264858e1.zip |
Adding upstream version 1.34.1.upstream/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.yml | 10 |
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: |