mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-12 22:14:22 +00:00
fix(ci): remove deprecated installer references from dev-release workflow
The native shell installers (install.sh, install.ps1) were removed in the recent refactor, but the dev-release workflow still tried to update and commit them, causing CI failures.
This commit is contained in:
1 parent
126cffc6dc
commit
4b969b6870
1 file changed
+1
-5
@@ -88,10 +88,6 @@ jobs:
|
|||||||
jq --arg v "$NEW_VERSION" '.version = $v' package.json > package.json.tmp
|
jq --arg v "$NEW_VERSION" '.version = $v' package.json > package.json.tmp
|
||||||
mv package.json.tmp package.json
|
mv package.json.tmp package.json
|
||||||
|
|
||||||
# Update installers
|
|
||||||
sed -i "s/^VERSION=.*/VERSION=\"$NEW_VERSION\"/" installers/install.sh
|
|
||||||
sed -i "s/^\$Version = .*/\$Version = \"$NEW_VERSION\"/" installers/install.ps1
|
|
||||||
|
|
||||||
- name: Publish to npm
|
- name: Publish to npm
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
@@ -154,6 +150,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git add VERSION package.json installers/install.sh installers/install.ps1
|
git add VERSION package.json
|
||||||
git commit -m "chore(release): ${{ steps.bump.outputs.new }} [skip ci]"
|
git commit -m "chore(release): ${{ steps.bump.outputs.new }} [skip ci]"
|
||||||
git push origin dev
|
git push origin dev
|
||||||
Reference in new issue
Block a user