mirror of
https://github.com/syncthing/syncthing.git
synced 2025-12-23 22:18:14 -05:00
Merge branch 'main' into v2
* main: build: use own script instead of svu chore(gui, man, authors): update docs, translations, and contributors
This commit is contained in:
8
.github/workflows/release-syncthing.yaml
vendored
8
.github/workflows/release-syncthing.yaml
vendored
@@ -25,16 +25,12 @@ jobs:
|
||||
with:
|
||||
go-version: stable
|
||||
|
||||
- name: Get svu
|
||||
run: |
|
||||
go install github.com/caarlos0/svu@latest
|
||||
|
||||
- name: Determine version to release
|
||||
run: |
|
||||
if [[ "$GITHUB_REF_NAME" == "release" ]] ; then
|
||||
next=$(svu next)
|
||||
next=$(go run ./script/next-version.go)
|
||||
else
|
||||
next=$(svu prerelease --pre-release rc)
|
||||
next=$(go run ./script/next-version.go --pre)
|
||||
fi
|
||||
echo "NEXT=$next" >> $GITHUB_ENV
|
||||
echo "Next version is $next"
|
||||
|
||||
Reference in New Issue
Block a user