Merge branch 'proper-release-process' into 'master'

put release artifacts in ds4 directory and change manifest and download url to latest tag

See merge request dungeonslayers/ds4!22
This commit is contained in:
Johannes Loher 2021-01-06 01:03:18 +01:00
commit 3120f83e88
2 changed files with 5 additions and 4 deletions

View file

@ -45,11 +45,12 @@ build:
stage: build
script:
- npm run build
- mv dist ds4
cache:
<<: *global_cache
artifacts:
paths:
- dist
- ds4
expire_in: 1 week
deploy:
@ -58,7 +59,7 @@ deploy:
dependencies:
- build
script:
- rsync --delete -az ./dist/ rsync://${DEPLOYMENT_USER}@${DEPLOYMENT_SERVER}:${DEPLOYMENT_PATH}
- rsync --delete -az ./ds4/ rsync://${DEPLOYMENT_USER}@${DEPLOYMENT_SERVER}:${DEPLOYMENT_PATH}
environment:
name: production
url: https://vtt.f3l.de/

View file

@ -22,7 +22,7 @@
"gridUnits": "m",
"primaryTokenAttribute": "combatValues.hitPoints.current",
"url": "https://git.f3l.de/dungeonslayers/ds4",
"manifest": "https://git.f3l.de/dungeonslayers/ds4/-/blob/master/src/system.json",
"download": "https://git.f3l.de/dungeonslayers/ds4/-/archive/master/ds4-master.zip",
"manifest": "https://git.f3l.de/dungeonslayers/ds4/-/raw/latest/src/system.json?inline=false",
"download": "https://git.f3l.de/dungeonslayers/ds4/-/jobs/artifacts/latest/download?job=build",
"license": "MIT"
}