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
20 changes: 15 additions & 5 deletions .craft.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
minVersion: "2.19.0"
changelogPolicy: auto
changelog:
policy: auto
artifactProvider:
name: none
statusProvider:
name: github
config:
contexts:
- 'build-arm64'
- 'build-amd64'
- 'assemble-taskbroker-image'
- 'build-arm64'
- 'build-amd64'
- 'assemble-taskbroker-image'
preReleaseCommand: ""
targets:
- name: github
- id: release
name: docker
source: ghcr.io/getsentry/taskbroker
target: ghcr.io/getsentry/taskbroker
- id: latest
name: docker
source: ghcr.io/getsentry/taskbroker
target: ghcr.io/getsentry/taskbroker
targetFormat: '{{{target}}}:latest'
- name: github
versioning:
policy: calver
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}"
Loading