ci: add appimages & changelogs to gitea releases
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
a8dd4735d3
commit
2b6a41ebe4
|
@ -38,6 +38,21 @@ pipeline:
|
|||
- earthly bootstrap
|
||||
- earthly +test
|
||||
|
||||
gitea:prerelease:
|
||||
image: earthly/earthly:v0.7.15
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- FORCE_COLOR=1
|
||||
- EARTHLY_EXEC_CMD="/bin/sh"
|
||||
secrets: [EARTHLY_CONFIGURATION, DOCKER_USER, DOCKER_PASSWORD]
|
||||
commands:
|
||||
- echo "$EARTHLY_CONFIGURATION" > ~/.earthly/config.yaml
|
||||
- earthly bootstrap
|
||||
- earthly +current-changelog
|
||||
when:
|
||||
event: [tag]
|
||||
|
||||
appimage:
|
||||
image: earthly/earthly:v0.7.15
|
||||
volumes:
|
||||
|
@ -135,13 +150,14 @@ pipeline:
|
|||
settings:
|
||||
base_url: https://git.thm.place
|
||||
files:
|
||||
- "*.AppImage"
|
||||
- "*.asc"
|
||||
- "dist/*.AppImage"
|
||||
- "dist/*.asc"
|
||||
- webext/web-ext-artifacts/*.zip
|
||||
checksum: sha512
|
||||
api_key:
|
||||
from_secret: woodpecker_api_key
|
||||
target: main
|
||||
note: CHANGELOG_CURRENT.md
|
||||
when:
|
||||
event: [tag]
|
||||
|
||||
|
|
|
@ -203,6 +203,11 @@ changelog:
|
|||
RUN git-cliff -o CHANGELOG.md
|
||||
SAVE ARTIFACT CHANGELOG.md
|
||||
|
||||
current-changelog:
|
||||
FROM +changelog
|
||||
RUN git-cliff --current -o CHANGELOG_CURRENT.md
|
||||
SAVE ARTIFACT CHANGELOG_CURRENT.md AS LOCAL CHANGELOG_CURRENT.md
|
||||
|
||||
update-changelog:
|
||||
LOCALLY
|
||||
COPY +changelog/CHANGELOG.md .
|
||||
|
|
Loading…
Reference in New Issue