Skip to content

Commit 4d7b336

Browse files
committed
fix publish +semver:skip
1 parent 39de7a8 commit 4d7b336

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ jobs:
6666
versionSpec: '0.18.x'
6767
- name: Publish
6868
run: |
69+
tag=${{ needs.create-release.outputs.determined_version }}
6970
mkdir output
70-
dotnet publish ./src/HydraScript/HydraScript.csproj -c Release -r ${{ matrix.config.rid }} -p:PublishSingleFile=true -p:DebugType=embedded -p:Version=${{ needs.create-release.outputs.determined_version }} --self-contained false -o ./output
71+
dotnet publish ./src/HydraScript/HydraScript.csproj -c Release -r ${{ matrix.config.rid }} -p:PublishSingleFile=true -p:DebugType=embedded -p:Version=${tag:1} --self-contained false -o ./output
7172
- name: Rename Executable
7273
run: mv ./output/HydraScript${{ matrix.config.rid == 'win-x64' && '.exe' || '' }} ./output/hydrascript_${{ matrix.config.rid }}${{ matrix.config.rid == 'win-x64' && '.exe' || '' }}
7374
- name: Add asset to a release with GitReleaseManager

0 commit comments

Comments
 (0)