diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4b435d8770d27296615815c1367d55ddc9d8f4b3..a8098fa7fdf14984d46b941afc34ee51e50cb72c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ default: # Columns of the pipeline stages: - static analysis + - release # Static code analysis job via MISS_HIT style_check: @@ -24,3 +25,18 @@ lint_check: stage: static analysis script: - mh_lint . + +# https://docs.gitlab.com/ee/user/project/releases/release_cicd_examples.html +release_job: + stage: release + image: registry.gitlab.com/gitlab-org/release-cli:latest + rules: + - if: $CI_COMMIT_TAG # Run this job when a tag is created + only: + - master # Only if tag is on main + script: + - echo "running release_job" + release: + tag_name: '$CI_COMMIT_TAG' + name: 'Release $CI_COMMIT_TAG' + description: 'Automatic release for $CI_COMMIT_TAG.' diff --git a/CHANGELOG.md b/CHANGELOG.md index fd975b8d6526af2242d4c983e7f81f94e4612862..525fd08d71aed9f2185f4d4acc27e2bee97b1f83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,17 +9,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +### Changed + +### Deprecated + +### Removed + +### Fixed + +## [4.1.0] - 2022-11-25 + +### Added + - **Polar**: add polypolar method - **Airfoil** class +- **CI/CD**: automatic release ### Changed - **Polar**: rename _analyse_ method in _analyze_ to use US spelling everywhere. -### Deprecated - -### Removed - ### Fixed - **formatairfoilcoord**: fix issue with autosave @@ -118,8 +127,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release -[Unreleased]: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/compare/v4.0.0...master -[4.0.0]: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/compare/v3.0.0...v4.0.0 +[Unreleased]: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/compare/v4.1.0...master +[4.1.0]: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/compare/4.0.0...v4.1.0 +[4.0.0]: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/compare/3.0.0...4.0.0 [3.0.0]: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/compare/v2.0.1...v3.0.0 [2.0.1]: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/compare/v2.0.0...v2.0.1 [2.0.0]: https://gitlab.uliege.be/am-dept/matlab_airfoil_toolbox/-/compare/v1.2.0...v2.0.0