ci/woodpecker/pr/plugins Pipeline was successful
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>
6 lines
208 B
Docker
6 lines
208 B
Docker
# 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"]
|