Skip to content

Commit

Permalink
ci(tagpr): Don't use tagpr (#96)
Browse files Browse the repository at this point in the history
It's unstable and doesn't run as expected.
  • Loading branch information
5ouma authored May 10, 2024
1 parent 0c76a6b commit 8b20973
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: 🚀 Release

on:
push:
branches:
- "main"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

permissions:
contents: write
Expand All @@ -17,20 +17,12 @@ jobs:
- name: 🚚 Checkout Repository
uses: actions/checkout@v4

- name: 🏷️ Create a New Tag
id: tagpr
uses: Songmu/tagpr@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: 🐹 Setup Go
if: ${{ steps.tagpr.outputs.tag != '' }}
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"

- name: 💳 Create GitHub App Token
if: ${{ steps.tagpr.outputs.tag != '' }}
uses: actions/create-github-app-token@v1
id: app-token
with:
Expand All @@ -40,7 +32,6 @@ jobs:
repositories: "homebrew-formula"

- name: 🚀 Build and Rrelease with GoReleaser
if: ${{ steps.tagpr.outputs.tag != '' }}
uses: goreleaser/goreleaser-action@v5
with:
args: release --clean --config=.github/goreleaser.yml
Expand Down
8 changes: 0 additions & 8 deletions .tagpr

This file was deleted.

0 comments on commit 8b20973

Please sign in to comment.