Skip to content

Commit 6027c43

Browse files
committed
fix(deploy): change mv to cp for stable release marking
1 parent fcf49b2 commit 6027c43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ jobs:
132132
# Only mark as latest if it's a stable version
133133
if [[ "$TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
134134
echo "This is a stable release. Marking as latest."
135-
mv "n98-magerun2.phar" \
135+
cp "n98-magerun2.phar" \
136136
"n98-magerun2-latest.phar"
137-
mv "n98-magerun2.phar.asc" \
137+
cp "n98-magerun2.phar.asc" \
138138
"n98-magerun2-latest.phar.asc"
139-
mv "n98-magerun2.phar.sig" \
139+
cp "n98-magerun2.phar.sig" \
140140
"n98-magerun2-latest.phar.sig"
141141
else
142142
echo "This is an alpha/beta release. Not marking as latest."

0 commit comments

Comments
 (0)