Skip to content

Commit 16d2747

Browse files
authored
ref: fixes changelog bump entry (#640)
* ref: fixes changelog bump entry * ref: changelog
1 parent 0a19fc4 commit 16d2747

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.craft.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ targets:
2020
source: ghcr.io/getsentry/vroom
2121
target: getsentry/vroom
2222
targetFormat: '{{{target}}}:latest'
23-
preReleaseCommand: ""

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
- Buffer flamegraph candidates to reduce memory usage. ([#583](https://github.com/getsentry/vroom/pull/583))
144144
- Reduce read jobs buffer to reduce memory usage. ([#584](https://github.com/getsentry/vroom/pull/584))
145145
- Update GoCD scripts to use console script entry points. ([#608](https://github.com/getsentry/vroom/pull/608))
146+
- Fix Craft's changelog bump entry. ([#640](https://github.com/getsentry/vroom/pull/640))
146147

147148
## 23.12.0
148149

scripts/bump-version.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
4+
if [ "$(uname -s)" != "Linux" ]; then
5+
echo "Vroom can only be released on Linux!"
6+
echo "Please use the GitHub Action instead."
7+
exit 1
8+
fi
9+
10+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
11+
cd $SCRIPT_DIR/..
12+
13+
OLD_VERSION="${1}"
14+
NEW_VERSION="${2}"
15+
16+
echo "Current version: ${OLD_VERSION}"
17+
echo "Bumping version: ${NEW_VERSION}"

0 commit comments

Comments
 (0)