Set initial version to 0.0.0

This commit is contained in:
Pavindu Lakshan 2025-04-18 13:39:49 +05:30
parent 161223fd73
commit 134385ac1c
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ else
fi
# Extract current version.
CURRENT_VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "1.0.0")
CURRENT_VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.0")
IFS='.' read -r MAJOR MINOR PATCH <<< "${CURRENT_VERSION}"
# Determine which part to increment

View file

@ -61,4 +61,4 @@ jobs:
- name: Update artifact version, package, commit, and create release.
env:
GITHUB_TOKEN: ${{ secrets.GIT_BOT_PAT }}
run: bash ./.github/scripts/release.sh $GITHUB_TOKEN ${{ github.workspace }} ${{ github.event.inputs.version_type }}
run: bash ./.github/scripts/release.sh $GITHUB_TOKEN ${{ github.workspace }} ${{ github.event.inputs.version_type }}