This commit is contained in:
parent
4235fd7961
commit
b7608be252
@ -6,7 +6,6 @@
|
|||||||
# DRONE_REPO_NAME="vscodestat"
|
# DRONE_REPO_NAME="vscodestat"
|
||||||
# DRONE_REPO_OWNER="root"
|
# DRONE_REPO_OWNER="root"
|
||||||
GITEA_API_URL="https://gitea.raphaelpiccolo.com/api/v1"
|
GITEA_API_URL="https://gitea.raphaelpiccolo.com/api/v1"
|
||||||
TAG_NAME="v${DRONE_TAG}"
|
|
||||||
RELEASE_NAME="Release ${DRONE_TAG}"
|
RELEASE_NAME="Release ${DRONE_TAG}"
|
||||||
RELEASE_BODY="vscode extension generated"
|
RELEASE_BODY="vscode extension generated"
|
||||||
ARTIFACT_PATH="${DRONE_REPO_NAME}-${DRONE_TAG}.vsix"
|
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 "Authorization: token ${GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{
|
-d "{
|
||||||
\"tag_name\": \"${TAG_NAME}\",
|
\"tag_name\": \"${DRONE_TAG}\",
|
||||||
\"name\": \"${RELEASE_NAME}\",
|
\"name\": \"${RELEASE_NAME}\",
|
||||||
\"body\": \"${RELEASE_BODY}\",
|
\"body\": \"${RELEASE_BODY}\",
|
||||||
\"draft\": false,
|
\"draft\": false,
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "vscodestat",
|
"name": "vscodestat",
|
||||||
"version": "1.1.7",
|
"version": "1.1.8",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "vscodestat",
|
"name": "vscodestat",
|
||||||
"version": "1.1.7",
|
"version": "1.1.8",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/mocha": "^10.0.7",
|
"@types/mocha": "^10.0.7",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "vscodestat",
|
"name": "vscodestat",
|
||||||
"displayName": "vscodestat",
|
"displayName": "vscodestat",
|
||||||
"version": "1.1.7",
|
"version": "1.1.8",
|
||||||
"description": "",
|
"description": "",
|
||||||
"categories": [
|
"categories": [
|
||||||
"Other"
|
"Other"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user