Skip to content

Commit

Permalink
Upodate
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHinsh committed Jun 29, 2024
1 parent 64fcc09 commit 6a5ddbc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ABBWorkItemClone Build and Release
name: WorkItemClone Build and Release

on:
push:
Expand Down Expand Up @@ -63,15 +63,17 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: ABBWorkItemClone
- name: "Release ABBWorkItemClone"
- name: "Release WorkItemClone"
run: |
echo "GitVersion_BranchName: ${{needs.Setup.outputs.GitVersion_BranchName}}"
echo "GitVersion_SemVer: ${{needs.Setup.outputs.GitVersion_SemVer}}"
echo "GitVersion_PreReleaseLabel: ${{needs.Setup.outputs.GitVersion_PreReleaseLabel}}"
if ( "${{needs.Setup.outputs.GitVersion_PreReleaseLabel}}" -eq "Preview" ) {
echo "Creating a prerelease release."
gh release create v${{needs.Setup.outputs.GitVersion_SemVer}} ./ABBWorkItemClone-v${{needs.Setup.outputs.GitVersion_SemVer}}.zip --generate-notes --prerelease
}
else {
echo "Creating a release."
gh release create v${{needs.Setup.outputs.GitVersion_SemVer}} ./ABBWorkItemClone-v${{needs.Setup.outputs.GitVersion_SemVer}}.zip --generate-notes --discussion-category "General"
}
shell: pwsh
Expand Down

0 comments on commit 6a5ddbc

Please sign in to comment.