Skip to content

feat: move Jira commands under 'atl jira' namespace (#55) #15

feat: move Jira commands under 'atl jira' namespace (#55)

feat: move Jira commands under 'atl jira' namespace (#55) #15

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: ./go.mod
cache: true
- name: Run tests
run: go test -v -race ./...
- name: Generate GitHub App token for tap
id: app-token
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.HOMEBREW_TAP_APP_ID }}
private-key: ${{ secrets.HOMEBREW_TAP_APP_PRIVATE_KEY }}
owner: enthus-appdev
repositories: homebrew-tap
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v7
with:
distribution: goreleaser
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ steps.app-token.outputs.token }}