Skip to content

Commit

Permalink
Added a var for projectName instead of static string
Browse files Browse the repository at this point in the history
  • Loading branch information
faab007nl committed Dec 18, 2023
1 parent fbd96b8 commit f0f1977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/workflows/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"}'
data: '{"plugin_name": "${{ env.projectName }}", "release_title": "Release ${{ env.projectVersion }} build-${{ github.run_number }}"}'

0 comments on commit f0f1977

Please sign in to comment.