Skip to content

Commit

Permalink
fix VERSION_PREFIX in queue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Feb 20, 2025
1 parent 2830d94 commit 08f58bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Prepare composer version constraint prefix
run: |
BRANCH=${GITHUB_REF#refs/heads/}
if [[ $BRANCH =~ ^[0-9] ]]; then
if [[ $BRANCH =~ ^[0-9]\.x$ ]]; then
echo "VERSION_PREFIX=${BRANCH}-dev" >> $GITHUB_ENV
else
echo "VERSION_PREFIX=dev-${BRANCH}" >> $GITHUB_ENV
Expand Down

0 comments on commit 08f58bf

Please sign in to comment.