Skip to content

Commit c8e48f8

Browse files
Merge pull request #54 from MiroslavDionisiev/remove-command
fix: remove obsolete command and set script to fail on error
2 parents db7ec07 + 4fbcc06 commit c8e48f8

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Scratch editor mono-repo
44

55
## Release monorepo
66

7-
1. On GitHub, navigate to the main page of the [repository](https://github.com/MiroslavDionisiev/scratch-editor/tree/develop).
7+
1. On GitHub, navigate to the main page of the [repository](https://github.com/scratchfoundation/scratch-editor/tree/develop).
88
2. To the right of the list of files, click **Releases**, click **Draft a new release**.
99
3. To create a tag for the release, select the **Choose a tag** dropdown menu, type a version number for your release, then click **Create new tag**. The tag of the release is used to determine and update package versions.
1010
4. In the **Describe this release** field, type a description for your release. If you @mention anyone in the description, the published release will include a Contributors section with an avatar list of all the mentioned users. Alternatively, you can automatically generate your release notes by clicking **Generate release notes**. This provides a list with the **Pull Requests** included in the release and their creators.

packages/scratch-render/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"homepage": "https://github.com/scratchfoundation/scratch-render#readme",
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/scratchfoundation/scratch-editor.git",
11-
"sha": "e593d13de19afe7250aacb252a93f8703f52a7a6"
10+
"url": "https://github.com/scratchfoundation/scratch-editor.git"
1211
},
1312
"exports": {
1413
"webpack": "./src/index.js",
@@ -25,7 +24,6 @@
2524
"start": "webpack-dev-server",
2625
"tap": "tap test/unit test/integration",
2726
"test": "npm run lint && npm run docs && npm run build && npm run tap",
28-
"version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\"",
2927
"watch": "webpack --progress --watch --watch-poll"
3028
},
3129
"tap": {

packages/scratch-vm/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"homepage": "https://github.com/scratchfoundation/scratch-vm#readme",
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/scratchfoundation/scratch-editor.git",
11-
"sha": "c916f9ce07065d4061177fdd9f3cca511dbc1d85"
10+
"url": "https://github.com/scratchfoundation/scratch-editor.git"
1211
},
1312
"main": "./dist/node/scratch-vm.js",
1413
"browser": "./dist/web/scratch-vm.js",
@@ -31,8 +30,7 @@
3130
"tap:unit": "tap ./test/unit/*.js",
3231
"tap:integration": "tap ./test/integration/*.js",
3332
"test": "npm run lint && npm run tap",
34-
"watch": "webpack --progress --watch",
35-
"version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\""
33+
"watch": "webpack --progress --watch"
3634
},
3735
"browserslist": [
3836
"Chrome >= 63",

scripts/update-dependencies-with-tag-versions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e
4+
35
ALL_PACKAGES="
46
scratch-gui \
57
scratch-render \

0 commit comments

Comments
 (0)