mirror of
https://github.com/bretzel-app/crumbs.git
synced 2026-10-12 20:06:57 +02:00
fix: consolidate release pipeline into bump workflow
- Update release.sh to also bump docker-compose.yml image tag in the same commit, keeping the tagged commit in sync - Add CI and Docker release jobs to bump.yml so it's self-contained (GITHUB_TOKEN pushes don't trigger other workflows) - Remove "Pin docker-compose" post-step from release.yml since it's now handled by release.sh Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
d84e3fa97e
commit
85ff7cbbf5
+2
-1
@@ -60,7 +60,8 @@ echo "Bumping $BUMP version..."
|
||||
npm version "$BUMP" -m "chore: bump version to %s" --no-git-tag-version
|
||||
|
||||
NEW_VERSION=$(node -p "require('./package.json').version")
|
||||
git add package.json
|
||||
sed -i'' -e "s|image: ghcr.io/bretzel-app/crumbs:.*|image: ghcr.io/bretzel-app/crumbs:${NEW_VERSION}|" docker-compose.yml
|
||||
git add package.json docker-compose.yml
|
||||
git commit -m "chore: bump version to $NEW_VERSION"
|
||||
git tag "v$NEW_VERSION"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user