This is an automated email from the ASF dual-hosted git repository.

sciabarracom pushed a commit to branch 0.9.0
in repository https://gitbox.apache.org/repos/asf/openserverless-cli.git

commit f46f479cc61be9c5ea7d09e24a4e0bca2dec77f2
Author: Michele Sciabarra <[email protected]>
AuthorDate: Sat Sep 12 16:59:19 2026 +0200

    fixing version
---
 .github/workflows/release.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ab71904..bfdbdfc 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -98,7 +98,7 @@ jobs:
           GOARCH: ${{ matrix.goarch }}
         run: |
           set -e
-          VERSION="$(cat version.txt)"
+          VERSION="$(tail -1 version.txt)"
           BASE="${PROJECT_NAME}_${VERSION}_${GOOS}_${GOARCH}"
           mkdir -p dist/"$BASE"
           if test "$GOOS" = "windows"
@@ -135,7 +135,7 @@ jobs:
       - name: Generate checksums
         run: |
           set -e
-          VERSION="$(cat version.txt)"
+          VERSION="$(tail -1 version.txt)"
           cd dist
           sha256sum * >"${PROJECT_NAME}_${VERSION}_checksums.txt"
           ls -l

Reply via email to