Skip to content

Commit 334ee32

Browse files
authored
ROX-22812: automatically bump the infra version on commit to master (#1202)
1 parent 169566a commit 334ee32

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

.github/workflows/tag.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Bump version
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Bump version and push tag
12+
id: tag_version
13+
uses: mathieudutour/github-tag-action@v6.1
14+
with:
15+
github_token: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }}
16+
tag_prefix: ""
17+
- name: Create a GitHub release
18+
uses: ncipollo/release-action@v1
19+
with:
20+
tag: ${{ steps.tag_version.outputs.new_tag }}
21+
name: Release ${{ steps.tag_version.outputs.new_tag }}
22+
body: ${{ steps.tag_version.outputs.changelog }}

CHANGELOG.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
# Changelog
22

3-
Entries in this file should be limited to:
4-
5-
- Any changes that introduce a deprecation in functionality, OR
6-
- Obscure side-effects that are not obviously apparent based on the JIRA associated with the changes.
7-
Please avoid adding duplicate information across this changelog and JIRA/doc input pages.
8-
9-
## [NEXT RELEASE]
3+
This CHANGELOG is abandoned in favor of auto-generated release notes.
4+
Please see the release description for change information.
105

116
## [0.8.14]
127

0 commit comments

Comments
 (0)