Skip to content

Commit

Permalink
fix: changing to the -latest-
Browse files Browse the repository at this point in the history
  • Loading branch information
geekbrother committed Jan 18, 2024
1 parent 1c4ae82 commit e379877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dispatch_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
description: "Release Version"
type: string
required: true
default: 'latest'
default: '-latest-'

concurrency: deploy

Expand All @@ -51,7 +51,7 @@ jobs:
- name: Select target version
id: select_version
run: |
if [ "${{ inputs.version }}" == "latest" ]; then
if [ "${{ inputs.version }}" == "-latest-" ]; then
echo "version=$(git tag | sort --version-sort | tail -n1)" >> "$GITHUB_OUTPUT"
else
echo "version=${{ inputs.version }}" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit e379877

Please sign in to comment.