mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
refactor: rename scheduled release workflow to versioned release
This commit is contained in:
parent
99747c022e
commit
45b474c9a6
10
.github/workflows/scheduled-release.yml
vendored
10
.github/workflows/scheduled-release.yml
vendored
@ -1,17 +1,16 @@
|
|||||||
name: Scheduled Release
|
name: Versioned Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- "v*"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
goreleaser:
|
goreleaser:
|
||||||
name: Release motr, sonrd, and DWN
|
name: Run GoReleaser
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -22,6 +21,9 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
fetch-tags: true
|
fetch-tags: true
|
||||||
|
|
||||||
|
- name: Checkout Latest Tag
|
||||||
|
run: git checkout $(git describe --tags --abbrev=0)
|
||||||
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.23"
|
go-version: "1.23"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user