9 Commits

Author SHA1 Message Date
6ec32e0962 Update .zip with new version 2024-09-23 20:40:30 +00:00
79ca616ad7 Update .gitlab-ci.yml file 2024-09-23 20:35:44 +00:00
1e1fa46ee0 Update system.json 2024-09-23 20:33:59 +00:00
f15950e9cc Update system.json 2024-09-23 20:26:33 +00:00
283af9a050 Update system.json 2024-09-23 20:26:07 +00:00
282ec95c0c Update system.json 2024-09-23 20:25:35 +00:00
fed0ba9ca1 Update system.json 2024-09-23 20:25:20 +00:00
79b6a0ea13 Update system.json 2024-09-23 20:24:51 +00:00
4fca58bf33 Update system.json 2024-09-23 20:23:51 +00:00
3 changed files with 8 additions and 20 deletions

View File

@ -54,14 +54,11 @@ release:
- npm install
- gulp release
# Update system.json with the release URL
- |
sed -i "s|\"download\":.*|\"download\": \"https://gitlab.com/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/-/releases/v$VERSION/download\",|" system.json
- grep '"download":' system.json
- git config --global user.name "GitLab CI"
- git config --global user.email "ci@gitlab.com"
- git add system.json
- git commit -m "Update system.json with release URL"
- git add kidsonbrooms.zip
- git commit -m "Update .zip with new version"
- git push "https://$CI_COMMITTER_USER_AND_TOKEN@gitlab.com/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}.git" HEAD:master
# Create a release on GitLab
@ -78,7 +75,7 @@ release:
"links": [
{
"name": "Download kidsonbrooms.zip",
"url": "https://gitlab.com/wintermyst/kidsonbrooms/-/jobs/$CI_JOB_ID/artifacts/download"
"url": "https://gitlab.com/wintermyst/kidsonbrooms/-/raw/master/kidsonbrooms.zip?inline=false"
}
]
}
@ -92,7 +89,7 @@ release:
\"id\": \"Your-Package-ID\",
\"release\": {
\"version\": \"$VERSION\",
\"manifest\": \"https://gitlab.com/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}/-/raw/master/system.json\",
\"manifest\": \"https://gitlab.com/wintermyst/kidsonbrooms/-/raw/master/system.json",
\"notes\": \"https://gitlab.com/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}/-/releases/v$VERSION\",
\"compatibility\": {
\"minimum\": \"12.331\",
@ -111,12 +108,3 @@ release:
paths:
- kidsonbrooms.zip
expire_in: never
release:
name: "Release v$VERSION"
tag_name: "v$VERSION"
description: "Release v$VERSION"
ref: master
assets:
links:
- name: "Download kidsonbrooms.zip"
url: "https://gitlab.com/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}/-/jobs/${CI_JOB_ID}/artifacts/raw/kidsonbrooms.zip"

Binary file not shown.

View File

@ -2,13 +2,13 @@
"id": "kidsonbrooms",
"title": "Kids on Brooms System",
"description": "The Kids on Brooms system for FoundryVTT! - Deprecated",
"version": "0.0.1",
"version": "1.1.0",
"compatibility": {
"minimum": 12,
"verified": 12
},
"authors": [{
"name": "Josiah Bradbury, Joscha Maier"
"name": "Joscha Maier"
}],
"esmodules": ["module/kidsonbrooms.mjs"],
"styles": ["css/kidsonbrooms.css"],
@ -19,6 +19,6 @@
},
"primaryTokenAttribute": "system.adversityTokens",
"url": "https://gitlab.com/wintermyst/kidsonbrooms",
"manifest": "https://github.com/josmaier/KidsOnBroomsFoundryVTT/blob/1c09eda6c50756a87ffcbdf27c31b732c3420d7c/system.json",
"download": "https://gitlab.com/wintermyst/kidsonbrooms/-/releases/v1.1.0/download",
"manifest": "https://gitlab.com/wintermyst/kidsonbrooms/-/raw/master/system.json",
"download": "https://gitlab.com/wintermyst/kidsonbrooms/-/raw/master/kidsonbrooms.zip?inline=false"
}