Skip to content

Commit 98aec04

Browse files
committed
doc
1 parent 3750b8a commit 98aec04

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

THORIUM_BUILD.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ set -xv ; container --version ; container system stop ; container system start ;
1414
...so assuming `v5.7.284` is the original PDF.js release tag, `v5.7.284_BRANCH` is a branch created at this tag git commit hash, and `v5.7.284_BRANCH_modified` is where we apply our stack of changes (git merge of all our commits so far) ... we can now create a dedicated "build" branch (let's name it `v5.7.284_BUILD`):
1515

1616
* `COMMIT_HASH=$(git rev-parse HEAD)`
17-
* `git checkout --orphan v5.7.284_BUILD || git checkout v5.7.284_BUILD` (`--orphan` for a totally new branch, otherwise without if already exists)
18-
* `git rm -r --cached .`
19-
* `git add build/gh-pages/build build/gh-pages/web build/types -f`
17+
* `git checkout --orphan v5.7.284_BUILD && git rm -r --cached . && git add build/gh-pages/build build/gh-pages/web build/types -f`
18+
* `mv build build_ && git checkout v5.7.284_BUILD && rm -rf build && mv build_ build`
2019
* Multiline:
2120
```
2221
cat << EOF > package.json

0 commit comments

Comments
 (0)