Skip to content

Commit

Permalink
Remove dead release scripts (#4496)
Browse files Browse the repository at this point in the history
* Remove redundant `pre-release.sh` script

This is now a no-op (there are no `matrix_lib` fields in package.json), so we
may as well remove it.

* Remove redundant `post-merge-master` script

Just as pre-release is a no-op, so is this

* Remove redundant switch_package_to_release script

Once more: this script is a no-op.
  • Loading branch information
richvdh authored Nov 5, 2024
1 parent 5a1488e commit fbbdb6e
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 73 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release-gitflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ jobs:
git checkout develop
git merge -X ours master
- name: Run post-merge-master script to revert package.json fields
run: ./.action-repo/scripts/release/post-merge-master.sh

- name: Reset dependencies
if: inputs.dependencies
run: |
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/release-make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,6 @@ jobs:
env:
RELEASE_NOTES: ${{ steps.draft-release.outputs.body }}

- name: Run pre-release script to update package.json fields
run: |
./.action-repo/scripts/release/pre-release.sh
git add package.json
- name: Commit changes
run: git commit -m "$VERSION"

Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@ jobs:
- name: Typecheck
run: "yarn run lint:types"

- name: Switch js-sdk to release mode
run: |
scripts/switch_package_to_release.js
yarn install
yarn run build:compile
yarn run build:types
- name: Typecheck (release mode)
run: "yarn run lint:types"

js_lint:
name: "ESLint"
runs-on: ubuntu-24.04
Expand Down
22 changes: 0 additions & 22 deletions scripts/release/post-merge-master.sh

This file was deleted.

14 changes: 0 additions & 14 deletions scripts/release/pre-release.sh

This file was deleted.

18 changes: 0 additions & 18 deletions scripts/switch_package_to_release.cjs

This file was deleted.

1 change: 0 additions & 1 deletion scripts/switch_package_to_release.js

This file was deleted.

0 comments on commit fbbdb6e

Please sign in to comment.