diff --git a/gitearelease.sh b/gitearelease.sh index 9843375..88ac2b5 100644 --- a/gitearelease.sh +++ b/gitearelease.sh @@ -6,7 +6,6 @@ # DRONE_REPO_NAME="vscodestat" # DRONE_REPO_OWNER="root" GITEA_API_URL="https://gitea.raphaelpiccolo.com/api/v1" -TAG_NAME="v${DRONE_TAG}" RELEASE_NAME="Release ${DRONE_TAG}" RELEASE_BODY="vscode extension generated" ARTIFACT_PATH="${DRONE_REPO_NAME}-${DRONE_TAG}.vsix" @@ -16,7 +15,7 @@ response=$(curl -s -X POST "${GITEA_API_URL}/repos/${DRONE_REPO_OWNER}/${DRONE_R -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \ -d "{ - \"tag_name\": \"${TAG_NAME}\", + \"tag_name\": \"${DRONE_TAG}\", \"name\": \"${RELEASE_NAME}\", \"body\": \"${RELEASE_BODY}\", \"draft\": false, diff --git a/package-lock.json b/package-lock.json index 4a1aaac..6be3f79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscodestat", - "version": "1.1.7", + "version": "1.1.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vscodestat", - "version": "1.1.7", + "version": "1.1.8", "license": "ISC", "devDependencies": { "@types/mocha": "^10.0.7", diff --git a/package.json b/package.json index 9bc650d..fc91d3a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vscodestat", "displayName": "vscodestat", - "version": "1.1.7", + "version": "1.1.8", "description": "", "categories": [ "Other"