mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 18:13:28 +07:00
fix: Old version was displayed.
This commit is contained in:
parent
7c2a8cf711
commit
ebfdb864ef
@ -7,7 +7,6 @@ stages:
|
|||||||
- install
|
- install
|
||||||
- package
|
- package
|
||||||
- installer
|
- installer
|
||||||
- release-check
|
|
||||||
- release-note
|
- release-note
|
||||||
- release
|
- release
|
||||||
|
|
||||||
@ -72,6 +71,20 @@ js_syntax:
|
|||||||
script:
|
script:
|
||||||
- find . -iname "*.js" -print0 | xargs -0 -I % sh -c 'echo "%"; acorn --ecma6 --silent "%"'
|
- find . -iname "*.js" -print0 | xargs -0 -I % sh -c 'echo "%"; acorn --ecma6 --silent "%"'
|
||||||
|
|
||||||
|
release-check:
|
||||||
|
tags: [ docker ]
|
||||||
|
image: registry.gitlab.com/juhani/go-semrel-gitlab:v0.20.4
|
||||||
|
only:
|
||||||
|
- branches
|
||||||
|
- schedules@ryzen-controller-team/ryzen-controller
|
||||||
|
stage: test
|
||||||
|
dependencies: []
|
||||||
|
script:
|
||||||
|
- release next-version > .next_version
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- .next_version
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
## INSTALL
|
## INSTALL
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -83,7 +96,11 @@ node:
|
|||||||
stage: install
|
stage: install
|
||||||
tags: [ docker ]
|
tags: [ docker ]
|
||||||
image: electronuserland/builder:wine-mono
|
image: electronuserland/builder:wine-mono
|
||||||
|
dependencies:
|
||||||
|
- release-check
|
||||||
script:
|
script:
|
||||||
|
- VERSION=`cat .next_version`
|
||||||
|
- npm version --no-git-tag-version ${VERSION}
|
||||||
- npm install
|
- npm install
|
||||||
- cp vendor/7z/7z.exe node_modules/electron-winstaller/vendor/7z.exe
|
- cp vendor/7z/7z.exe node_modules/electron-winstaller/vendor/7z.exe
|
||||||
- cp vendor/7z/7z.dll node_modules/electron-winstaller/vendor/7z.dll
|
- cp vendor/7z/7z.dll node_modules/electron-winstaller/vendor/7z.dll
|
||||||
@ -93,6 +110,8 @@ node:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- node_modules/
|
- node_modules/
|
||||||
|
- package.json
|
||||||
|
- package-lock.json
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
## PACKAGE
|
## PACKAGE
|
||||||
@ -215,23 +234,6 @@ rpm-installer:
|
|||||||
- node
|
- node
|
||||||
- linux
|
- linux
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
## RELEASE-CHECK
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
release-check:
|
|
||||||
tags: [ docker ]
|
|
||||||
image: registry.gitlab.com/juhani/go-semrel-gitlab:v0.20.4
|
|
||||||
only:
|
|
||||||
- schedules@ryzen-controller-team/ryzen-controller
|
|
||||||
stage: release-check
|
|
||||||
dependencies: []
|
|
||||||
script:
|
|
||||||
- release next-version > .next_version
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- .next_version
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
## RELEASE-NOTE
|
## RELEASE-NOTE
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -326,22 +328,6 @@ update-changelog:
|
|||||||
paths:
|
paths:
|
||||||
- CHANGELOG.md
|
- CHANGELOG.md
|
||||||
|
|
||||||
update-package-version:
|
|
||||||
tags: [ docker ]
|
|
||||||
image: electronuserland/builder:wine-mono
|
|
||||||
only:
|
|
||||||
- schedules@ryzen-controller-team/ryzen-controller
|
|
||||||
stage: release-note
|
|
||||||
dependencies:
|
|
||||||
- release-check
|
|
||||||
script:
|
|
||||||
- VERSION=`cat .next_version`
|
|
||||||
- npm version --no-git-tag-version ${VERSION}
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- package.json
|
|
||||||
- package-lock.json
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
## RELEASE
|
## RELEASE
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -354,11 +340,11 @@ publish:
|
|||||||
stage: release
|
stage: release
|
||||||
dependencies:
|
dependencies:
|
||||||
- release-check
|
- release-check
|
||||||
|
- node
|
||||||
- create-rpm-link
|
- create-rpm-link
|
||||||
- create-deb-link
|
- create-deb-link
|
||||||
- create-exe-link
|
- create-exe-link
|
||||||
- update-changelog
|
- update-changelog
|
||||||
- update-package-version
|
|
||||||
script:
|
script:
|
||||||
- VERSION=`cat .next_version`
|
- VERSION=`cat .next_version`
|
||||||
- release changelog
|
- release changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user