Skip to content

Commit

Permalink
version/Release-version-v1.0.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
OzBena committed Sep 22, 2024
1 parent b4b79a5 commit 1858ab8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release
on:
push:
tags:
- "v*.*.*"
- "v*.*.*-rc*"
workflow_run:
workflows: ["Tag Version"]
types:
- completed

permissions:
contents: write
Expand All @@ -12,6 +12,7 @@ permissions:

jobs:
goreleaser:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -31,6 +32,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

push:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
needs: goreleaser
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tag-version.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Tag on Version Change
name: Tag Version

on:
push:
branches:
- master
- master
paths:
- "version/version.txt"
- "version/version.txt"

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion version/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0-rc
1.0.0-rc1

0 comments on commit 1858ab8

Please sign in to comment.