game-ci / docker

Series of CI-specialised docker images for Unity.
https://hub.docker.com/u/unityci
MIT License
392 stars 122 forks source link

fix: broken module matching for server builds #164

Closed webbertakken closed 2 years ago

webbertakken commented 2 years ago

Context

Because the server build target platforms for windows and linux were introduced in 2021.2.5 and we didn't account for the first 4 versions of 2021.2, the following versions failed to build:

image

Changes

Proof

# echo "2021.2.1-macos" | grep -vP '^(2021.2.(?![0-4](?![0-9]))|2021.[3-9]|202[2-9]|20[3-9]).*linux'
2021.2.1-macos
# echo "2021.2.1-linux" | grep -vP '^(2021.2.(?![0-4](?![0-9]))|2021.[3-9]|202[2-9]|20[3-9]).*linux'
2021.2.1-linux
# echo "2021.2.5-macos" | grep -vP '^(2021.2.(?![0-4](?![0-9]))|2021.[3-9]|202[2-9]|20[3-9]).*linux'
2021.2.5-macos
# echo "2021.2.5-linux" | grep -vP '^(2021.2.(?![0-4](?![0-9]))|2021.[3-9]|202[2-9]|20[3-9]).*linux'
# echo "2021.2.12-macos" | grep -vP '^(2021.2.(?![0-4](?![0-9]))|2021.[3-9]|202[2-9]|20[3-9]).*linux'
2021.2.12-macos
# echo "2021.2.12-linux" | grep -vP '^(2021.2.(?![0-4](?![0-9]))|2021.[3-9]|202[2-9]|20[3-9]).*linux'
#

Checklist

github-actions[bot] commented 2 years ago

Cat Gif