Skip to content

Commit

Permalink
ci: fix semver for date (no leading 0)
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Jul 13, 2024
1 parent bf1688e commit 3884485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ jobs:
with:
tag-prefix: ${{ inputs.package }}-
scope: ${{ inputs.package }}
- name:
- name: Compute tag and semantic version
id: tag
run: |
if [ "${{ steps.package.outputs.versioning }}" == "date" ]; then
TAG="${{ inputs.package }}-$(date '+%Y.%m.%d')"
SEMVER="$(date '+%Y.%m.%d')"
SEMVER="$(date '+%Y.%-m.%-d')"
else
TAG="${{ steps.tag-next.outputs.tag }}"
SEMVER="${{ steps.tag-next.outputs.semver }}"
Expand Down

0 comments on commit 3884485

Please sign in to comment.