Compare commits
7 Commits
4b382bddd9
...
v0.3.0
Author | SHA1 | Date | |
---|---|---|---|
37bd69b675 | |||
14bca64657 | |||
d9baf44199 | |||
6de94d038f | |||
a04d1db077 | |||
62942540b5 | |||
904a579994 |
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -19,9 +19,9 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: git fetch --force --tags
|
||||
- uses: actions/setup-go@v3
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '==1.19.5'
|
||||
go-version: '1.20'
|
||||
cache: true
|
||||
# More assembly might be required: Docker logins, GPG, etc. It all depends
|
||||
# on your needs.
|
||||
|
@ -5,6 +5,7 @@ before:
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
- GOPROXY=https://goproxy.io
|
||||
goos:
|
||||
- freebsd
|
||||
- linux
|
||||
|
@ -1,8 +1,8 @@
|
||||
steps:
|
||||
pipeline:
|
||||
release:
|
||||
image: goreleaser/goreleaser
|
||||
commands:
|
||||
- goreleaser release -f .goreleaser/vern.yml --release-notes=".changes/$(go run backy.go version -V).md"
|
||||
- goreleaser release -f .goreleaser/gitea.yml --release-notes=".changes/$(go run backy.go version -V).md"
|
||||
secrets: [ gitea_token ]
|
||||
when:
|
||||
event: tag
|
||||
|
@ -1,4 +1,4 @@
|
||||
steps:
|
||||
pipeline:
|
||||
build:
|
||||
image: klakegg/hugo:ext-debian-ci
|
||||
commands:
|
||||
|
@ -21,7 +21,7 @@ var (
|
||||
)
|
||||
|
||||
func init() {
|
||||
versionCmd.PersistentFlags().BoolVarP(&numOnly, "num", "n", true, "Output the version number only.")
|
||||
versionCmd.PersistentFlags().BoolVarP(&numOnly, "num", "n", false, "Output the version number only.")
|
||||
versionCmd.PersistentFlags().BoolVarP(&vPre, "vpre", "V", false, "Output the version with v prefixed.")
|
||||
}
|
||||
|
||||
|
@ -6,5 +6,4 @@ weight: 5
|
||||
The repo mirrors are:
|
||||
|
||||
* [https://git.andrewnw.xyz/CyberShell/backy](https://git.andrewnw.xyz/CyberShell/backy)
|
||||
* [https://git.vern.cc/cybershell/backy](https://git.vern.cc/cybershell/backy)
|
||||
* [https://github.com/CybersShell/backy](https://github.com/CybersShell/backy)
|
4
release
4
release
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
export GORELEASER_CURRENT_TAG="$(go run backy.go version -V)"
|
||||
# export GORELEASER_CURRENT_TAG="$(go run backy.go version -V)"
|
||||
git tag "$(go run backy.go version -V)"
|
||||
git push all
|
||||
git push all --tags
|
||||
goreleaser release -f .goreleaser/gitea.yml --clean --release-notes=".changes/$(go run backy.go version -V).md"
|
||||
# goreleaser release -f .goreleaser/gitea.yml --clean --release-notes=".changes/$(go run backy.go version -V).md"
|
Reference in New Issue
Block a user