Compare commits

...

1 Commits

Author SHA1 Message Date
eball
2a506be19a ci: bump version to 1.12.5 (#2405) 2026-01-12 15:00:44 +08:00
5 changed files with 6 additions and 6 deletions

View File

@@ -75,7 +75,7 @@ jobs:
steps: steps:
- id: generate - id: generate
run: | run: |
v=1.12.4-$(echo $RANDOM$RANDOM) v=1.12.5-$(echo $RANDOM$RANDOM)
echo "version=$v" >> "$GITHUB_OUTPUT" echo "version=$v" >> "$GITHUB_OUTPUT"
upload-cli: upload-cli:

View File

@@ -17,7 +17,7 @@ jobs:
steps: steps:
- id: generate - id: generate
run: | run: |
v=1.12.4-$(date +"%Y%m%d") v=1.12.5-$(date +"%Y%m%d")
echo "version=$v" >> "$GITHUB_OUTPUT" echo "version=$v" >> "$GITHUB_OUTPUT"
release-id: release-id:

View File

@@ -18,7 +18,7 @@ fi
if [[ x"$VERSION" == x"" ]]; then if [[ x"$VERSION" == x"" ]]; then
if [[ "$LOCAL_RELEASE" == "1" ]]; then if [[ "$LOCAL_RELEASE" == "1" ]]; then
ts=$(date +%Y%m%d%H%M%S) ts=$(date +%Y%m%d%H%M%S)
export VERSION="1.12.4-$ts" export VERSION="1.12.5-$ts"
echo "will build and use a local release of Olares with version: $VERSION" echo "will build and use a local release of Olares with version: $VERSION"
echo "" echo ""
else else
@@ -28,7 +28,7 @@ fi
if [[ "x${VERSION}" == "x" || "x${VERSION:3}" == "xVERSION__" ]]; then if [[ "x${VERSION}" == "x" || "x${VERSION:3}" == "xVERSION__" ]]; then
echo "error: Olares version is unspecified, please set the VERSION env var and rerun this script." echo "error: Olares version is unspecified, please set the VERSION env var and rerun this script."
echo "for example: VERSION=1.12.4-20241124 bash $0" echo "for example: VERSION=1.12.5-20241124 bash $0"
exit 1 exit 1
fi fi

View File

@@ -158,7 +158,7 @@ export VERSION="#__VERSION__"
if [[ "x${VERSION}" == "x" || "x${VERSION:3}" == "xVERSION__" ]]; then if [[ "x${VERSION}" == "x" || "x${VERSION:3}" == "xVERSION__" ]]; then
echo "error: Olares version is unspecified, please set the VERSION env var and rerun this script." echo "error: Olares version is unspecified, please set the VERSION env var and rerun this script."
echo "for example: VERSION=1.12.4-20241124 bash $0" echo "for example: VERSION=1.12.5-20241124 bash $0"
exit 1 exit 1
fi fi

View File

@@ -49,7 +49,7 @@ func NewCmdRelease() *cobra.Command {
} }
if version == "" { if version == "" {
version = fmt.Sprintf("1.12.4-%s", time.Now().Format("20060102150405")) version = fmt.Sprintf("1.12.5-%s", time.Now().Format("20060102150405"))
fmt.Printf("--version unspecified, using: %s\n", version) fmt.Printf("--version unspecified, using: %s\n", version)
time.Sleep(1 * time.Second) time.Sleep(1 * time.Second)
} }