Compare commits

..

3 Commits
5.34 ... 5.00

Author SHA1 Message Date
icex2
ec76ba075f gitlab-ci: Fix pipeline to include build step for tagged release 2021-01-07 20:30:09 +00:00
icex2
f438f04f2a gitlab-ci: Build + automatic upload of tagged releases 2021-01-07 21:05:41 +01:00
icex2
865980991e Bump version to 5.35 2021-01-06 22:17:30 +01:00
3 changed files with 21 additions and 31 deletions

View File

@@ -11,57 +11,45 @@ before_script:
stages: stages:
- build - build
- create-release-package - upload-release
- releasetag
build: build-master:
stage: build stage: build
before_script: before_script:
- apk update && apk add make > /dev/null - apk update && apk add make > /dev/null
script: script:
- make build-docker - make build-docker
- mv build/docker/bemanitools.zip bemanitools.zip
artifacts: artifacts:
name: "$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME" name: "$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME"
paths: paths:
- build - bemanitools.zip
only: only:
refs: refs:
- master - master
create-release-package: build-tags:
stage: create-release-package stage: build
variables:
GIT_STRATEGY: none
dependencies:
- build
before_script: before_script:
- apk update && apk add zip > /dev/null - apk update && apk add make > /dev/null
script: script:
- mv build/docker/bemanitools.zip ./bemanitools.zip - make build-docker
- rm -r build - mv build/docker/bemanitools.zip bemanitools.zip
- find . -mindepth 1 ! -regex '^./bemanitools.zip' -delete
- unzip bemanitools.zip
- rm bemanitools.zip
artifacts: artifacts:
name: "$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME" name: "$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME"
paths: paths:
- ./* - bemanitools.zip
only: only:
refs: - tags
- master
upload-release:
releasetag: stage: upload-release
stage: releasetag dependencies:
dependencies: [] - build-tags
before_script: before_script:
- apk update && apk add curl > /dev/null - apk update && apk add curl > /dev/null
script: script:
- | - echo "Uploading ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}..."
curl --silent --show-error \ - curl --silent --show-error -F "key=${CI_UPLOAD_KEY}" -F "filename=${CI_PROJECT_NAME}-v${CI_COMMIT_TAG}.zip" -F "file=@./bemanitools.zip" ${CI_UPLOAD_URL}
--data "{\"tag_name\": \"${CI_COMMIT_TAG}\", \"name\": \"${CI_PROJECT_NAME}-${CI_COMMIT_TAG}\", \"description\": \"${CI_COMMIT_TAG_MESSAGE:-No release notes.}\"}" \
--header "Content-Type: application/json" \
--header "Private-Token: ${CI_PRIVATE_TOKEN}" \
--request POST \
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/releases"
only: only:
- tags - tags

View File

@@ -1,4 +1,6 @@
# Release history # Release history
## 5.35
## 5.34 ## 5.34
* IIDX: Support IO and card reader feature switches to disable emulation in iidxhook4-7 * IIDX: Support IO and card reader feature switches to disable emulation in iidxhook4-7
* Jubeat: jbio implementation for magicbox hardware * Jubeat: jbio implementation for magicbox hardware

View File

@@ -1,7 +1,7 @@
# Bemanitools 5 # Bemanitools 5
[![pipeline status](https://dev.s-ul.eu/djhackers/bemanitools/badges/master/pipeline.svg)](https://dev.s-ul.eu/djhackers/bemanitools/commits/master) [![pipeline status](https://dev.s-ul.eu/djhackers/bemanitools/badges/master/pipeline.svg)](https://dev.s-ul.eu/djhackers/bemanitools/commits/master)
Version: 5.34 Version: 5.35
[Release history](CHANGELOG.md) [Release history](CHANGELOG.md)