From 0d75d989599096ae984cf3c730c88a82499301ec Mon Sep 17 00:00:00 2001 From: Jorge Aguilera Date: Tue, 2 Jul 2024 17:37:47 +0200 Subject: [PATCH] fix generated url in release process Signed-off-by: Jorge Aguilera --- .github/workflows/release.yml | 4 ++-- .../main/groovy/nextflow/gradle/plugins/JsonPluginTask.groovy | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44737d2..b4b080f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,8 +62,8 @@ jobs: with: draft: false prerelease: false - release_name: ${{ steps.version.outputs.version }} - tag_name: ${{ steps.version.outputs.version }} + release_name: v${{ steps.version.outputs.version }} + tag_name: ${{ github.ref }} body_path: CHANGELOG.md env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/buildSrc/src/main/groovy/nextflow/gradle/plugins/JsonPluginTask.groovy b/buildSrc/src/main/groovy/nextflow/gradle/plugins/JsonPluginTask.groovy index d05314d..05ae482 100644 --- a/buildSrc/src/main/groovy/nextflow/gradle/plugins/JsonPluginTask.groovy +++ b/buildSrc/src/main/groovy/nextflow/gradle/plugins/JsonPluginTask.groovy @@ -37,7 +37,7 @@ abstract class JsonPluginTask extends DefaultTask{ protected String resolveURL(){ - "${downloadUrl.get()}/${project.version}/${project.name}-${project.version}.zip" + "${downloadUrl.get()}/v${project.version}/${project.name}-${project.version}.zip" } protected static String now() {