зеркало из https://github.com/mozilla/MozDef.git
Fix regex in deploy to match multi digit semver versions
This commit is contained in:
Родитель
c95e5de846
Коммит
e228a2c87e
|
@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [v1.38.3] - 2019-04-01
|
||||
### Fixed
|
||||
- AWS CodeBuild tag semver regex
|
||||
|
||||
## [v1.38.2] - 2019-03-29
|
||||
### Fixed
|
||||
- Remaining references to old alertplugins container
|
||||
|
@ -47,7 +51,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|||
- Added checks on sending SQS messages to only accept intra-account messages
|
||||
- Improved docker performance and disk space requirements
|
||||
|
||||
[Unreleased]: https://github.com/mozilla/MozDef/compare/v1.38.2...HEAD
|
||||
[Unreleased]: https://github.com/mozilla/MozDef/compare/v1.38.3...HEAD
|
||||
[v1.38.3]: https://github.com/mozilla/MozDef/compare/v1.38.2...v1.38.3
|
||||
[v1.38.2]: https://github.com/mozilla/MozDef/compare/v1.38.1...v1.38.2
|
||||
[v1.38.1]: https://github.com/mozilla/MozDef/compare/v1.38...v1.38.1
|
||||
[v1.38]: https://github.com/mozilla/MozDef/compare/v1.37...v1.38
|
||||
|
|
|
@ -18,7 +18,7 @@ echo "It's dangerous to go alone. Take one of these: <%%%%|==========>"
|
|||
echo "Processing webhook event for ${CODEBUILD_WEBHOOK_TRIGGER}."
|
||||
|
||||
if [[ "branch/master" == "$CODEBUILD_WEBHOOK_TRIGGER" \
|
||||
|| "$CODEBUILD_WEBHOOK_TRIGGER" =~ ^tag\/v[0-9]\.[0-9]\.[0-9](\-(prod|pre|testing))?$ ]]; then
|
||||
|| "$CODEBUILD_WEBHOOK_TRIGGER" =~ ^tag\/v[0-9]+\.[0-9]+\.[0-9]+(\-(prod|pre|testing))?$ ]]; then
|
||||
echo "Building a release"
|
||||
echo "C|_| This may take a bit. Might as well grab a coffee."
|
||||
make build-from-cwd
|
||||
|
|
Загрузка…
Ссылка в новой задаче