Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
testing incremental rc release
Browse files Browse the repository at this point in the history
  • Loading branch information
horacioh committed Mar 6, 2024
1 parent 17b2b03 commit b9acf45
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/new-rc-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Create Release Candidate

on:
push:
branches:
- "release/*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get Latest Release
id: get_latest_release
uses: pozetroninc/github-action-get-latest-release@master
with:
repository: ${{ github.repository }}
# excludes: rc, alpha, beta # Optional. Exclude keywords like rc, alpha, beta releases.

- name: Bump release candidate version
id: bump_version
uses: christian-draeger/[email protected]
with:
current-version: ${{ steps.get_latest_release.outputs.release }}
version-fragment: "rctest"

- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.bump_version.outputs.next-version }}
release_name: ${{ steps.bump_version.outputs.next-version }}
body: Automated release candidate
draft: false
prerelease: true

0 comments on commit b9acf45

Please sign in to comment.