Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Replace spaces with _ for release tag
Browse files Browse the repository at this point in the history
Former-commit-id: 16387ce76cdc11a9cf18e18e4943619b3a74514f
  • Loading branch information
LucBerge committed Jan 25, 2023
1 parent 0dcfc6e commit 9703459
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ jobs:
export DOFUS_VERSION=$(devscript/latest-dofus-version.sh)
echo The current Dofus version is $DOFUS_VERSION
echo "::set-env name=VERSION::$DOFUS_VERSION"
echo "::set-env name=TAG::${DOFUS_VERSION// /_}"
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'

Expand All @@ -167,7 +168,7 @@ jobs:
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ env.VERSION }}
automatic_release_tag: ${{ env.TAG }}
prerelease: false
title: ${{ env.VERSION }}
files: |
Expand Down

0 comments on commit 9703459

Please sign in to comment.