From 398bac86587e475b33b582912d42935c16d2c705 Mon Sep 17 00:00:00 2001 From: Alper Alkan Date: Tue, 11 Jul 2023 23:23:42 +0200 Subject: [PATCH 1/3] implement discord notification bot --- .github/workflows/deployment-master.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/deployment-master.yaml b/.github/workflows/deployment-master.yaml index 2cf7634..cd403cc 100644 --- a/.github/workflows/deployment-master.yaml +++ b/.github/workflows/deployment-master.yaml @@ -40,3 +40,11 @@ jobs: upload_url: ${{steps.release.outputs.upload_url}} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Send Discord Notification + id: discord + uses: Ilshidur/action-discord@master + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_BOT_WEBHOOK }} + with: + args: '@everyone New Release: {{ EVENT_PAYLOAD.repository.full_name }} v${{steps.release.outputs.version}} has been deployed. Here are the changes: https://github.com/{{EVENT_PAYLOAD.repository.full_name}}/releases/latest' From 73e6d14757c1b892afee906a9726394e29b4ad56 Mon Sep 17 00:00:00 2001 From: Alper Alkan Date: Tue, 11 Jul 2023 23:46:43 +0200 Subject: [PATCH 2/3] Fix Discord Notification --- .github/workflows/deployment-master.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deployment-master.yaml b/.github/workflows/deployment-master.yaml index cd403cc..48506ee 100644 --- a/.github/workflows/deployment-master.yaml +++ b/.github/workflows/deployment-master.yaml @@ -7,6 +7,9 @@ jobs: deploy: permissions: write-all runs-on: windows-latest + outputs: + version: ${{ steps.release.outputs.version }} + steps: - name: Checkout repository id: checkout @@ -40,11 +43,15 @@ jobs: upload_url: ${{steps.release.outputs.upload_url}} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + + notify_discord: + needs: deploy + runs-on: ubuntu-latest + steps: - name: Send Discord Notification id: discord uses: Ilshidur/action-discord@master env: DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_BOT_WEBHOOK }} with: - args: '@everyone New Release: {{ EVENT_PAYLOAD.repository.full_name }} v${{steps.release.outputs.version}} has been deployed. Here are the changes: https://github.com/{{EVENT_PAYLOAD.repository.full_name}}/releases/latest' + args: '@everyone New Release: ${{ github.event.repository.full_name }} v${{ needs.deploy.outputs.version }} has been deployed. Here are the changes: https://github.com/${{ github.event.repository.full_name }}/releases/latest' From 0498b1e1502a247a1660cfc867fd15b8ef782912 Mon Sep 17 00:00:00 2001 From: Yelo420 Date: Wed, 12 Jul 2023 15:12:26 +0200 Subject: [PATCH 3/3] Version increment --- CHANGELOG.md | 2 +- crackpipe/ViewModels/SettingsViewModel.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83b431b..02c0dd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Crackpipe App Changelog -## 1.0.2 +## 1.1.0 ### Changes - Show asterisks in registration password fields instead of clear text - Notify user, when app is still running in the system tray diff --git a/crackpipe/ViewModels/SettingsViewModel.cs b/crackpipe/ViewModels/SettingsViewModel.cs index 2c05889..3bac3ce 100644 --- a/crackpipe/ViewModels/SettingsViewModel.cs +++ b/crackpipe/ViewModels/SettingsViewModel.cs @@ -157,7 +157,7 @@ public string Version { get { - return "1.0.2"; + return "1.1.0"; } }