Allow latest tag to be published, restrict SAST jobs to approved MR
This commit is contained in:
@@ -145,3 +145,7 @@ weekly-build-scheduler:
|
|||||||
code_quality:
|
code_quality:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_MERGE_REQUEST_APPROVED
|
- if: $CI_MERGE_REQUEST_APPROVED
|
||||||
|
|
||||||
|
semgrep-sast:
|
||||||
|
rules:
|
||||||
|
- if: $CI_MERGE_REQUEST_APPROVED
|
||||||
|
|||||||
10
CHANGELOG.md
10
CHANGELOG.md
@@ -19,13 +19,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
<!-- --/>
|
<!-- --/>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
## [3.2.2] - 2024/06/09
|
||||||
|
### Fixed
|
||||||
|
- Allow the latest tag to be applied to the v9 versions. (#54)
|
||||||
|
- Restricted SAST jobs to approved pipelines. (#58)
|
||||||
|
|
||||||
|
[3.2.2]: https://gitlab.com/florian.anceau/docker-seafile-client/-/tags/3.2.2
|
||||||
|
<!-- /3.2.2 -->
|
||||||
|
|
||||||
## [3.2.1] - 2024/06/09
|
## [3.2.1] - 2024/06/09
|
||||||
### Added
|
### Added
|
||||||
- Merge requests pipeline only runs when merge request has been approved.
|
- Merge requests pipeline only runs when merge request has been approved.
|
||||||
### Changed
|
### Changed
|
||||||
- Badges are rendered from the Gitlab project itself, not from code. (#62)
|
- Badges are rendered from the Gitlab project itself, not from code. (#62)
|
||||||
|
|
||||||
[3.2.1]: [url_to_tag](https://gitlab.com/florian.anceau/docker-seafile-client/-/tags/3.2.0)
|
[3.2.1]: https://gitlab.com/florian.anceau/docker-seafile-client/-/tags/3.2.1
|
||||||
<!-- /3.2.1 -->
|
<!-- /3.2.1 -->
|
||||||
|
|
||||||
## [3.2.0] - 2024/06/06
|
## [3.2.0] - 2024/06/06
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ echo $version >> "versions/$TARGET"
|
|||||||
|
|
||||||
# Generate version tags.
|
# Generate version tags.
|
||||||
tags=()
|
tags=()
|
||||||
#[[ "$TARGET" =~ "unstable" ]] && tags+=("latest")
|
[[ "$TARGET" =~ "unstable" ]] && tags+=("latest")
|
||||||
for version_component in $(echo $version | tr '.' '\n'); do
|
for version_component in $(echo $version | tr '.' '\n'); do
|
||||||
tag+="$version_component"
|
tag+="$version_component"
|
||||||
tags+=("$tag")
|
tags+=("$tag")
|
||||||
|
|||||||
Reference in New Issue
Block a user