Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkasun committed Feb 25, 2023
1 parent bc39f1b commit f4067b2
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 53 deletions.
53 changes: 0 additions & 53 deletions .github/workflows/prerelease.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/upgraderelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: UpgradeRelease

on:
workflow_dispatch:
inputs:
version:
description: "release/version to update"
required: true

jobs:

update:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
ref: release_${{ github.event.inputs.version }}
fetch-depth: 0
- run: |
git fetch --force --tags
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: goreleaser
uses: goreleaser/goreleaser-action@v4
with:
args: release --clean --release-notes release.md -f .goreleaser.update.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

packages:
uses: ./.github/workflows/packages.yml
with:
version: ${{ github.event.inputs.version }}

pull-request:
uses: ./.github/workflows/pull-request.yml
with:
version: ${{ github.event.inputs.version }}
4 changes: 4 additions & 0 deletions .goreleaser.update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
builds:
- skip: true
release:
prerelease: false

0 comments on commit f4067b2

Please sign in to comment.