mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
8 lines
351 B
Bash
Executable File
8 lines
351 B
Bash
Executable File
#!/bin/bash
|
|
set -eu
|
|
|
|
git checkout master && git pull
|
|
# shellcheck disable=SC2001
|
|
./scripts/bump-version.sh '' "$(date -d "$(echo "$CRAFT_NEW_VERSION" | sed -e 's/^\([0-9]\{2\}\)\.\([0-9]\{1,2\}\)\.[0-9]\+$/20\1-\2-1/') 1 month" +%y.%-m.0.dev0)"
|
|
git diff --quiet || git commit -anm 'meta: Bump new development version' && git pull --rebase && git push
|