Skip to content

Commit 1757cda

Browse files
committed
chore: Explicitly bump 24.11.0 to 24.11.1
These changes should be pulled into `main`, but this script needs more work.
1 parent fe85584 commit 1757cda

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.scripts/update_refs.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ function prepend {
3535
function maybe_commit {
3636
[ "$COMMIT" == "true" ] || return 0
3737
local MESSAGE="$1"
38-
PATCH=$(mktemp)
38+
PATCH=$(mktemp --suffix=.diff)
3939
git add -u
4040
git diff --staged > "$PATCH"
41-
git commit -S -m "$MESSAGE" --no-verify
41+
git diff-index --quiet HEAD -- || git commit -S -m "$MESSAGE" --no-verify
4242
echo "patch written to: $PATCH" | prepend "\t"
4343
}
4444

@@ -55,8 +55,8 @@ if [[ "$CURRENT_BRANCH" == release-* ]]; then
5555

5656
# Replace 0.0.0-dev refs with ${STACKABLE_RELEASE}.0
5757
# TODO (@NickLarsenNZ): handle patches later, and what about release-candidates?
58-
SEARCH='stackable(0\.0\.0-dev|24\.7\.[0-9]+)' # TODO (@NickLarsenNZ): After https://github.com/stackabletech/stackable-cockpit/issues/310, only search for 0.0.0-dev
59-
REPLACEMENT="stackable${STACKABLE_RELEASE}.0" # TODO (@NickLarsenNZ): Be a bit smarter about patch releases.
58+
SEARCH='stackable(0\.0\.0-dev|24\.7\.[0-9]+|24\.11\.0)' # TODO (@NickLarsenNZ): After https://github.com/stackabletech/stackable-cockpit/issues/310, only search for 0.0.0-dev
59+
REPLACEMENT="stackable${STACKABLE_RELEASE}.1" # TODO (@NickLarsenNZ): Be a bit smarter about patch releases.
6060
MESSAGE="Update image references with $REPLACEMENT"
6161
echo "$MESSAGE"
6262
find demos stacks -type f \

0 commit comments

Comments
 (0)