Skip to content

Commit

Permalink
fix version in build-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Sep 27, 2024
1 parent 5127cd8 commit 9bb0826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
VERSION="${GITHUB_REF##*/}.dev"
echo "VERSION -> $VERSION"
DATE=$(date +%F)
VERSION=$(echo $VERSION | sed 's/v//1')
VERSION=$(echo $VERSION | sed 's/^v//')
echo "VERSION -> $VERSION"
VERSION="$VERSION/$DATE"
echo "VERSION -> $VERSION"
Expand All @@ -48,7 +48,7 @@ jobs:
VERSION: ${{ steps.get_version.outputs.VERSION }}
run: |
bash scripts/build.sh
echo ::set-output name=version::$VERSION
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
release:
if: "! (contains(github.event.inputs.build_only, 'true'))"
Expand Down

0 comments on commit 9bb0826

Please sign in to comment.