From f0f197791746ea534ccca984f8c34096052dd8ed Mon Sep 17 00:00:00 2001 From: Fabian Dingemans Date: Mon, 18 Dec 2023 20:13:45 +0100 Subject: [PATCH] Added a var for projectName instead of static string --- build.gradle | 2 +- src/main/resources/workflows/plugin.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 856c72a..e5f667d 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ def artifactId = 'GradleBasePlugin' // /---> Major Version - Increment this when you make a breaking change // | /---> Patch Version - Increment this when you add a new feature // | | /---> Minor Version - Increment this when you make a bug fix -def versionNum = '3.0.4' +def versionNum = '3.0.5' group = groupId version = versionNum diff --git a/src/main/resources/workflows/plugin.yml b/src/main/resources/workflows/plugin.yml index 080d789..69c2457 100644 --- a/src/main/resources/workflows/plugin.yml +++ b/src/main/resources/workflows/plugin.yml @@ -72,4 +72,4 @@ jobs: url: 'https://update.techscode.com/api/new-release' method: 'POST' customHeaders: '{"Content-Type": "application/json", "Authorization": "${{ secrets.UPDATE_SERVER_API_KEY }}"}' - data: '{"plugin_name": "ultraeconomytest", "release_title": "Release ${{ env.projectVersion }} build-${{ github.run_number }}"}' \ No newline at end of file + data: '{"plugin_name": "${{ env.projectName }}", "release_title": "Release ${{ env.projectVersion }} build-${{ github.run_number }}"}' \ No newline at end of file