Skip to content

Commit

Permalink
Update Repack-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps committed Sep 9, 2021
1 parent d373fa3 commit 8b5f3d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/Repack-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
Translation-template.7z
- name: draft pre-release
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && !contains("${{steps.tag.outputs.version_tag}}",'-rel')
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && !endsWith("${{steps.tag.outputs.version_tag}}",'-rel')
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand All @@ -120,7 +120,7 @@ jobs:
Translation-template.7z
- name: release
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && ( contains("${{steps.tag.outputs.version_tag}}",'-rel') )
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && ( endsWith("${{steps.tag.outputs.version_tag}}",'-rel') )
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down Expand Up @@ -169,14 +169,14 @@ jobs:
name: HDL-INST

- name: Discord Webhook, Latest release
if: github.event_name == 'push' && !contains("${{steps.tag.outputs.version_tag}}",'-rel')
if: github.event_name == 'push' && !endsWith("${{steps.tag.outputs.version_tag}}",'-rel')
uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.TESTERS_WEBHOOK }}
content: "<@&859572447761793034> & <@&859615291477590046> , HDL Batch Installer has been updated some minutes ago\\n according to changelog: **[${{ steps.version.outputs.string }}]** \\n as always, you can download the latest version from here:\\n https://github.com/israpps/HDL-Batch-installer/releases/tag/Latest \\n or <#863913236457062421>"

- name: Discord Webhook, Stable Release
if: github.event_name == 'push' && contains("${{steps.tag.outputs.version_tag}}",'-rel')
if: github.event_name == 'push' && endsWith("${{steps.tag.outputs.version_tag}}",'-rel')
uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.TESTERS_WEBHOOK }}
Expand Down

0 comments on commit 8b5f3d0

Please sign in to comment.