7 Commits

Author SHA1 Message Date
37bd69b675 update CI configs
All checks were successful
ci/woodpecker/push/gitea Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
ci/woodpecker/tag/gitea Pipeline was successful
ci/woodpecker/tag/publish-docs Pipeline was successful
2023-07-01 23:07:31 -05:00
14bca64657 update CI configs
Some checks failed
ci/woodpecker/push/gitea Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
ci/woodpecker/tag/gitea Pipeline failed
ci/woodpecker/tag/publish-docs Pipeline was successful
2023-07-01 22:49:34 -05:00
d9baf44199 update repo URLs
Some checks failed
ci/woodpecker/push/gitea Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
ci/woodpecker/tag/gitea Pipeline failed
ci/woodpecker/tag/publish-docs Pipeline was successful
2023-07-01 22:35:22 -05:00
6de94d038f update CI configs
All checks were successful
ci/woodpecker/push/gitea Pipeline was successful
ci/woodpecker/push/publish-docs Pipeline was successful
2023-07-01 22:31:13 -05:00
a04d1db077 update CI configs 2023-07-01 22:18:36 -05:00
62942540b5 update CI configs 2023-07-01 22:10:19 -05:00
904a579994 fix version subcommand 2023-07-01 22:02:32 -05:00
7 changed files with 9 additions and 9 deletions

View File

@ -19,9 +19,9 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- run: git fetch --force --tags - run: git fetch --force --tags
- uses: actions/setup-go@v3 - uses: actions/setup-go@v4
with: with:
go-version: '==1.19.5' go-version: '1.20'
cache: true cache: true
# More assembly might be required: Docker logins, GPG, etc. It all depends # More assembly might be required: Docker logins, GPG, etc. It all depends
# on your needs. # on your needs.

View File

@ -5,6 +5,7 @@ before:
builds: builds:
- env: - env:
- CGO_ENABLED=0 - CGO_ENABLED=0
- GOPROXY=https://goproxy.io
goos: goos:
- freebsd - freebsd
- linux - linux

View File

@ -1,8 +1,8 @@
steps: pipeline:
release: release:
image: goreleaser/goreleaser image: goreleaser/goreleaser
commands: 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 ] secrets: [ gitea_token ]
when: when:
event: tag event: tag

View File

@ -1,4 +1,4 @@
steps: pipeline:
build: build:
image: klakegg/hugo:ext-debian-ci image: klakegg/hugo:ext-debian-ci
commands: commands:

View File

@ -21,7 +21,7 @@ var (
) )
func init() { 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.") versionCmd.PersistentFlags().BoolVarP(&vPre, "vpre", "V", false, "Output the version with v prefixed.")
} }

View File

@ -6,5 +6,4 @@ weight: 5
The repo mirrors are: The repo mirrors are:
* [https://git.andrewnw.xyz/CyberShell/backy](https://git.andrewnw.xyz/CyberShell/backy) * [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) * [https://github.com/CybersShell/backy](https://github.com/CybersShell/backy)

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/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 tag "$(go run backy.go version -V)"
git push all git push all
git push all --tags 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"