Merge pull request #3411 from ever-co/develop #100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Stage | |
on: | |
push: | |
branches: [stage] | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Bump version and push tag | |
uses: mathieudutour/github-tag-action@v6.1 | |
id: tag_version | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
release_branches: apps,master,main,develop,stage,apps-stage | |
pre_release_branches: something_to_possible_use_later | |
- name: Create a GitHub release | |
uses: ncipollo/release-action@v1 | |
with: | |
allowUpdates: true | |
generateReleaseNotes: true | |
prerelease: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ steps.tag_version.outputs.new_tag }} | |
name: ${{ steps.tag_version.outputs.new_tag }} | |
body: ${{ steps.tag_version.outputs.changelog }} |