From a7d867e3c77e10831289587adbc5339a4ea41d50 Mon Sep 17 00:00:00 2001 From: DevTekVE Date: Sat, 30 Aug 2025 12:18:08 +0200 Subject: [PATCH] fix long overdue mistake lol --- .github/workflows/sunnypilot-build-prebuilt.yaml | 2 +- release/ci/publish.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sunnypilot-build-prebuilt.yaml b/.github/workflows/sunnypilot-build-prebuilt.yaml index c11d82bf2b..e1b94dec99 100644 --- a/.github/workflows/sunnypilot-build-prebuilt.yaml +++ b/.github/workflows/sunnypilot-build-prebuilt.yaml @@ -284,7 +284,7 @@ jobs: "${{ needs.build.outputs.new_branch }}" \ "${{ needs.build.outputs.version }}" \ "https://x-access-token:${{github.token}}@github.com/sunnypilot/sunnypilot.git" \ - "-${{ needs.build.outputs.extra_version_identifier }}" + "${{ needs.build.outputs.extra_version_identifier }}" echo "" echo "---- ℹ️ To update the list of branches that auto deploy prebuilts -----" diff --git a/release/ci/publish.sh b/release/ci/publish.sh index d723782934..e06434c4f2 100755 --- a/release/ci/publish.sh +++ b/release/ci/publish.sh @@ -61,8 +61,8 @@ SP_VERSION=$(cat $SOURCE_DIR/common/version.h | awk -F\" '{print $2}') # Add built files to git git add -f . -if [ "$EXTRA_VERSION_IDENTIFIER" = "-release" ] || [ "$EXTRA_VERSION_IDENTIFIER" = "-staging" ]; then - export VERSION=${VERSION%"$EXTRA_VERSION_IDENTIFIER"} +if [ "$EXTRA_VERSION_IDENTIFIER" = "release" ] || [ "$EXTRA_VERSION_IDENTIFIER" = "staging" ]; then + export VERSION=${VERSION%"-$EXTRA_VERSION_IDENTIFIER"} git commit --amend -m "sunnypilot v$VERSION" else git commit --amend -m "sunnypilot v$VERSION