Skip to content
Snippets Groups Projects
Commit 91e9db9c authored by Aleksandr Gumroian's avatar Aleksandr Gumroian
Browse files

Merge branch 'release-new-version' into 'master'

Release version 4.0.0

See merge request !25
parents 404ae254 1e3801f2
Branches
Tags v4.0.0
1 merge request!25Release version 4.0.0
Pipeline #108467 passed with stages
in 3 minutes and 18 seconds
......@@ -6,40 +6,42 @@ stages:
- release
cache:
paths:
- ./node_modules/
paths:
- ./node_modules/
## Test stage ###################################################################
test:
stage: test
script:
- npm test
stage: test
script:
- npm install
- npm test
test-js-build:
stage: test
script:
- npm run-script build -- -o /tmp/app.min.js
stage: test
script:
- npm install
- npm run-script build -- -o /tmp/app.min.js
lint:
stage: test
script:
- npm install
- npm run lint
stage: test
script:
- npm install
- npm run lint
## Build stage ###################################################################
build:
stage: build
script:
- npm run build
- mv build turris-webapps-${CI_COMMIT_SHORT_SHA}
- cp turris-root.conf turris-webapps-json-cgi turris-webapps-${CI_COMMIT_SHORT_SHA}/
- tar cvzf "turris-webapps-${CI_COMMIT_SHORT_SHA}.tar.gz" turris-webapps-${CI_COMMIT_SHORT_SHA}
stage: build
script:
- npm run build
- mv build turris-webapps-${CI_COMMIT_SHORT_SHA}
- cp turris-root.conf turris-webapps-json-cgi turris-webapps-${CI_COMMIT_SHORT_SHA}/
- tar cvzf "turris-webapps-${CI_COMMIT_SHORT_SHA}.tar.gz" turris-webapps-${CI_COMMIT_SHORT_SHA}
artifacts:
paths:
- turris-webapps-*.tar.gz
artifacts:
paths:
- turris-webapps-*.tar.gz
## Release stage ###################################################################
......@@ -47,7 +49,7 @@ release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: '$CI_COMMIT_TAG'
- if: "$CI_COMMIT_TAG"
needs:
- job: build
artifacts: true
......
......@@ -10,6 +10,13 @@ and this project adheres to
- ...
## [4.0.0] - 2022-12-31
- Migrate to React.js
- Add language switcher
- Add GitLab CI
- Other improvements
## [3.7] - 2021-09-27
- Use color-scheme detection for theme
......@@ -75,7 +82,8 @@ and this project adheres to
- Initial version
[unreleased]: https://gitlab.nic.cz/turris/webapps/-/compare/v3.7...master
[unreleased]: https://gitlab.nic.cz/turris/webapps/-/compare/v4.0.0...master
[4.0.0]: https://gitlab.nic.cz/turris/webapps/-/compare/v3.7...v4.0.0
[3.7]: https://gitlab.nic.cz/turris/webapps/-/compare/v3.6...v3.7
[3.6]: https://gitlab.nic.cz/turris/webapps/-/compare/v3.5..v3.6
[3.5]: https://gitlab.nic.cz/turris/webapps/-/compare/v3.4...v3.5
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment