Skip to content

Commit b5b9c6c

Browse files
committed
Disable semver check
1 parent 2c62c42 commit b5b9c6c

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/deploy.yml

+20-20
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@ jobs:
2727
uses: actions/[email protected]
2828

2929
# Allow only newer versions
30-
- name: Collect versions
31-
run: |
32-
# extract tag part of github.ref
33-
PUSHED_VERSION=$(cut -d'/' -f3 <<< "$GITHUB_REF")
34-
LATEST_RELEASED_VERSION=$(curl -s https://raw.githubusercontent.com/netz98/n98-magerun2/master/version.txt | tr -d '[:space:]')
35-
36-
# Check if curl was successful
37-
if [[ -z "$LATEST_RELEASED_VERSION" ]]; then
38-
echo "Failed to fetch the latest released version."
39-
exit 1
40-
fi
41-
42-
echo "pushed_version=$PUSHED_VERSION" >> "$GITHUB_ENV"
43-
echo "latest_released_version=$LATEST_RELEASED_VERSION" >> "$GITHUB_ENV"
44-
45-
- uses: jackbilestech/[email protected]
46-
if: startsWith(github.ref, 'refs/tags/')
47-
with:
48-
head: ${{ env.pushed_version }}
49-
base: ${{ env.latest_released_version }}
30+
# - name: Collect versions
31+
# run: |
32+
# # extract tag part of github.ref
33+
# PUSHED_VERSION=$(cut -d'/' -f3 <<< "$GITHUB_REF")
34+
# LATEST_RELEASED_VERSION=$(curl -s https://raw.githubusercontent.com/netz98/n98-magerun2/master/version.txt | tr -d '[:space:]')
35+
#
36+
# # Check if curl was successful
37+
# if [[ -z "$LATEST_RELEASED_VERSION" ]]; then
38+
# echo "Failed to fetch the latest released version."
39+
# exit 1
40+
# fi
41+
#
42+
# echo "pushed_version=$PUSHED_VERSION" >> "$GITHUB_ENV"
43+
# echo "latest_released_version=$LATEST_RELEASED_VERSION" >> "$GITHUB_ENV"
44+
#
45+
# - uses: jackbilestech/[email protected]
46+
# if: startsWith(github.ref, 'refs/tags/')
47+
# with:
48+
# head: ${{ env.pushed_version }}
49+
# base: ${{ env.latest_released_version }}
5050

5151
- name: Setup PHP
5252
uses: shivammathur/setup-php@v2

0 commit comments

Comments
 (0)