Skip to content

Commit

Permalink
Add preview channel to build package (#22195)
Browse files Browse the repository at this point in the history
  • Loading branch information
caddoo authored May 8, 2024
1 parent 1845633 commit e7c59dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ echo "Working directory is '$CURRENT_DIR'..."

echo -e "Going to build Matomo $VERSION (Major version: $MAJOR_VERSION)"

if ! echo "$VERSION" | grep -E 'rc|b|a|alpha|beta|dev|build' -i
if ! echo "$VERSION" | grep -E 'rc|b|a|alpha|beta|dev|build|preview' -i
then
if curl --output /dev/null --silent --head --fail "https://builds.matomo.org/$F-$VERSION.zip"
then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
if [[ ${GITHUB_REF#refs/heads/} =~ ^[4-9]\.x-dev$ && $version =~ ^[0-9]+\.[0-9]+\.[0-9]+(-rc[0-9]+)?$ ]]
then
echo "Only beta release tags can be created from ${GITHUB_REF#refs/heads/} branch."
echo "Only beta/preview release tags can be created from ${GITHUB_REF#refs/heads/} branch."
exit 1
fi
Expand Down

0 comments on commit e7c59dc

Please sign in to comment.