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
|
version: 2
|
||||||
project_name: gotosocial
|
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/
|
# https://goreleaser.com/customization/hooks/
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
@@ -232,6 +237,10 @@ source:
|
|||||||
|
|
||||||
# https://goreleaser.com/customization/release/
|
# https://goreleaser.com/customization/release/
|
||||||
release:
|
release:
|
||||||
|
# https://goreleaser.com/customization/release/#gitea
|
||||||
|
gitea:
|
||||||
|
owner: superseriousbusiness
|
||||||
|
name: gotosocial
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: auto
|
prerelease: auto
|
||||||
header: |
|
header: |
|
||||||
@@ -319,7 +328,7 @@ release:
|
|||||||
|
|
||||||
# https://goreleaser.com/customization/changelog/
|
# https://goreleaser.com/customization/changelog/
|
||||||
changelog:
|
changelog:
|
||||||
use: github
|
use: gitea
|
||||||
groups:
|
groups:
|
||||||
- title: Features and performance
|
- title: Features and performance
|
||||||
regexp: '^.*\[(?:feature|performance).*\].*$'
|
regexp: '^.*\[(?:feature|performance).*\].*$'
|
||||||
|
@@ -25,11 +25,17 @@ steps:
|
|||||||
# https://woodpecker-ci.org/docs/usage/environment
|
# https://woodpecker-ci.org/docs/usage/environment
|
||||||
# https://woodpecker-ci.org/docs/usage/secrets#usage
|
# https://woodpecker-ci.org/docs/usage/secrets#usage
|
||||||
environment:
|
environment:
|
||||||
|
# Needed for goreleaser to
|
||||||
|
# push manifests + containers.
|
||||||
DOCKER_USERNAME: gotosocial
|
DOCKER_USERNAME: gotosocial
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: gts_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
|
# https://woodpecker-ci.org/docs/usage/workflow-syntax#commands
|
||||||
commands:
|
commands:
|
||||||
|
@@ -26,9 +26,14 @@ steps:
|
|||||||
# https://woodpecker-ci.org/docs/usage/environment
|
# https://woodpecker-ci.org/docs/usage/environment
|
||||||
# https://woodpecker-ci.org/docs/usage/secrets#usage
|
# https://woodpecker-ci.org/docs/usage/secrets#usage
|
||||||
environment:
|
environment:
|
||||||
|
# Needed to push snapshot
|
||||||
|
# manifests + containers.
|
||||||
DOCKER_USERNAME: gotosocial
|
DOCKER_USERNAME: gotosocial
|
||||||
DOCKER_PASSWORD:
|
DOCKER_PASSWORD:
|
||||||
from_secret: gts_docker_password
|
from_secret: gts_docker_password
|
||||||
|
|
||||||
|
# Needed for snapshot script
|
||||||
|
# to publish artifacts to S3.
|
||||||
S3_ACCESS_KEY_ID:
|
S3_ACCESS_KEY_ID:
|
||||||
from_secret: gts_s3_access_key_id
|
from_secret: gts_s3_access_key_id
|
||||||
S3_SECRET_ACCESS_KEY:
|
S3_SECRET_ACCESS_KEY:
|
||||||
|
Reference in New Issue
Block a user