Skip to content

Commit 8732b86

Browse files
authored
Describe publishing steps
1 parent 13b7daf commit 8732b86

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

readme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ import AlertIcon from "octicons-plain-react/alert";
2525

2626
## Publishing
2727

28+
1. GitHub Actions runs `bump-and-publish.sh`
29+
2. It fetches the latest version of @primer/octicons
30+
3. It sets its own version to match that
31+
4. The version script is called and it installs its own version
32+
5. `git add` is called to ensure these changes are saved in the tag itself
33+
6. If the version change is successful, `npm publish` is run
34+
7. Publishing calls `prepack.sh`, which builds the components and runs all the transforms
35+
8. The new files are published to npm
36+
2837
## License
2938

3039
MIT © GitHub Inc

0 commit comments

Comments
 (0)