Skip to content

fix: prefix default and deadletter outputs w/ system+env prefix also … #183

fix: prefix default and deadletter outputs w/ system+env prefix also …

fix: prefix default and deadletter outputs w/ system+env prefix also … #183

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
DISCORD_WEBHOOK_ID: ${{ secrets.DISCORD_WEBHOOK_ID }}
DISCORD_WEBHOOK_TOKEN: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}
jobs:
tag-release:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Get Version from file
id: get-version
uses: juliangruber/[email protected]
with:
path: ./.VERSION
- name: Configure Git
run: |
git config user.email "[email protected]"
git config user.name "$GITHUB_ACTOR"
- name: Set Reftag
id: tag-version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ steps.get-version.outputs.content }}
tag_prefix: ""
cut-release:
runs-on: ubuntu-latest
needs: tag-release
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.email "[email protected]"
git config user.name "$GITHUB_ACTOR"
- name: GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}