Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .craft.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
minVersion: "0.27.2"
changelogPolicy: auto
minVersion: "2.15.0"
changelog:
policy: auto
artifactProvider:
name: none
statusProvider:
Expand All @@ -9,15 +10,14 @@ statusProvider:
- 'build-arm64'
- 'build-amd64'
- 'assemble-taskbroker-image'
preReleaseCommand: ""
targets:
- id: release
name: docker
source: ghcr.io/getsentry/taskbroker
target: getsentry/taskbroker
target: ghcr.io/getsentry/taskbroker
- id: latest
name: docker
source: ghcr.io/getsentry/taskbroker
target: getsentry/taskbroker
target: ghcr.io/getsentry/taskbroker
targetFormat: '{{{target}}}:latest'
- name: github
28 changes: 0 additions & 28 deletions .github/workflows/release-ghcr-version-tag.yml

This file was deleted.

17 changes: 17 additions & 0 deletions scripts/bump-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
set -euo pipefail

if [ "$(uname -s)" != "Linux" ]; then
echo "This script can only be run on Linux!"
echo "Please use the GitHub Action instead."
exit 1
fi

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $SCRIPT_DIR/..

OLD_VERSION="${1}"
NEW_VERSION="${2}"

echo "Current version: ${OLD_VERSION}"
echo "Bumping version: ${NEW_VERSION}"
Comment on lines +16 to +17
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does craft read the output of this script?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. Craft only need this script to run, so the changelog will be properly generated.

Loading