mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore] Update release CICD to point at "gitea" (#4100)
Updates our release flow to point at "gitea", which should work for Codeberg as well. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4100 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
version: 2
|
||||
project_name: gotosocial
|
||||
|
||||
# https://goreleaser.com/scm/gitea/#urls
|
||||
gitea_urls:
|
||||
api: https://codeberg.org/api/v1
|
||||
download: https://codeberg.org
|
||||
|
||||
# https://goreleaser.com/customization/hooks/
|
||||
before:
|
||||
hooks:
|
||||
@@ -232,6 +237,10 @@ source:
|
||||
|
||||
# https://goreleaser.com/customization/release/
|
||||
release:
|
||||
# https://goreleaser.com/customization/release/#gitea
|
||||
gitea:
|
||||
owner: superseriousbusiness
|
||||
name: gotosocial
|
||||
draft: true
|
||||
prerelease: auto
|
||||
header: |
|
||||
@@ -319,7 +328,7 @@ release:
|
||||
|
||||
# https://goreleaser.com/customization/changelog/
|
||||
changelog:
|
||||
use: github
|
||||
use: gitea
|
||||
groups:
|
||||
- title: Features and performance
|
||||
regexp: '^.*\[(?:feature|performance).*\].*$'
|
||||
|
@@ -25,11 +25,17 @@ steps:
|
||||
# https://woodpecker-ci.org/docs/usage/environment
|
||||
# https://woodpecker-ci.org/docs/usage/secrets#usage
|
||||
environment:
|
||||
# Needed for goreleaser to
|
||||
# push manifests + containers.
|
||||
DOCKER_USERNAME: gotosocial
|
||||
DOCKER_PASSWORD:
|
||||
from_secret: gts_docker_password
|
||||
GITHUB_TOKEN:
|
||||
from_secret: github_token
|
||||
|
||||
# Needed for goreleaser
|
||||
# to publish the release.
|
||||
# https://goreleaser.com/scm/gitea/
|
||||
GITEA_TOKEN:
|
||||
from_secret: codeberg_token
|
||||
|
||||
# https://woodpecker-ci.org/docs/usage/workflow-syntax#commands
|
||||
commands:
|
||||
|
@@ -26,9 +26,14 @@ steps:
|
||||
# https://woodpecker-ci.org/docs/usage/environment
|
||||
# https://woodpecker-ci.org/docs/usage/secrets#usage
|
||||
environment:
|
||||
# Needed to push snapshot
|
||||
# manifests + containers.
|
||||
DOCKER_USERNAME: gotosocial
|
||||
DOCKER_PASSWORD:
|
||||
from_secret: gts_docker_password
|
||||
|
||||
# Needed for snapshot script
|
||||
# to publish artifacts to S3.
|
||||
S3_ACCESS_KEY_ID:
|
||||
from_secret: gts_s3_access_key_id
|
||||
S3_SECRET_ACCESS_KEY:
|
||||
|
Reference in New Issue
Block a user