Skip to content

Commit 5384e40

Browse files
Fixed release.yml
1 parent e43bba3 commit 5384e40

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,6 @@ jobs:
3939
run: npm install @semantic-release/exec -D
4040
working-directory: ./.github/workflows
4141

42-
- name: Dry Run Semantic to get next Version nummber
43-
working-directory: ./.github/workflows
44-
env:
45-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
46-
GIT_AUTHOR_NAME: thygesteffensen
47-
GIT_AUTHOR_EMAIL: 31892312+thygesteffensen@users.noreply.github.com
48-
run: |
49-
npx semantic-release --dry-run
50-
5142
- name: Dry Run Semantic to get next Version nummber
5243
working-directory: ./.github/workflows
5344
env:
@@ -70,11 +61,11 @@ jobs:
7061
run: msbuild /t:pack /p:PackageVersion=${env:RELEASE_VERSION} /p:OutputPath=..\\artifacts
7162
if: ${{ env.RELEASE_VERSION }}
7263

73-
# - name: Release to GitHub
74-
# working-directory: .\\.github\\workflows
75-
# env:
76-
# CI_NUGET_API_KEY: ${{ secrets.NUGETAPIKEY }}
77-
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
78-
# GIT_AUTHOR_NAME: thygesteffensen
79-
# GIT_AUTHOR_EMAIL: 31892312+thygesteffensen@users.noreply.github.com
80-
# run: npx semantic-release
64+
- name: Release to GitHub
65+
working-directory: .\\.github\\workflows
66+
env:
67+
CI_NUGET_API_KEY: ${{ secrets.NUGETAPIKEY }}
68+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
69+
GIT_AUTHOR_NAME: thygesteffensen
70+
GIT_AUTHOR_EMAIL: 31892312+thygesteffensen@users.noreply.github.com
71+
run: npx semantic-release

0 commit comments

Comments
 (0)