Der Build nimmt die Version aus dem Tag (CI_COMMIT_TAG als Build-Arg VERSION), package.json bleibt unberührt. Damit bleibt der Head-Commit eines PRs der des Entwicklers und behält seinen Status-Check; [skip ci] entfällt. - settings.release_branch: nächste stabile Version = höchster Patch der Linie + 1 - ein Commit, der schon ein v*-Tag trägt, wird nicht erneut getaggt (kein Doppel-Build) - Image auf alpine:3.20 wie deploy, node wird nicht mehr gebraucht - author_name/author_email entfallen Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
40d7997eca
commit
7776958cd9
3 files changed
+41
-39
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# Woodpecker plugin: bumps the version in package.json, tags and pushes
|
||||
FROM node:24-alpine
|
||||
# Woodpecker plugin: derives the next version and pushes it as a tag
|
||||
FROM alpine:3.20
|
||||
RUN apk add --no-cache bash git ca-certificates
|
||||
COPY bump.sh /usr/local/bin/bump.sh
|
||||
ENTRYPOINT ["/usr/local/bin/bump.sh"]
|
||||
Reference in new issue
Block a user