@peterseibel/hug 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DEVELOPMENT.md +5 -2
- package/README.md +1 -0
- package/package.json +1 -1
package/DEVELOPMENT.md
CHANGED
|
@@ -66,8 +66,11 @@ npm version patch # or minor / major
|
|
|
66
66
|
git push --follow-tags
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
`npm version` bumps `package.json`, commits, and creates a `v*` tag. Pushing
|
|
70
|
-
|
|
69
|
+
`npm version` bumps `package.json`, commits, and creates a `v*` tag. Pushing the
|
|
70
|
+
tag triggers the workflow in `.github/workflows/publish.yml`. (You can also use
|
|
71
|
+
`git config push.followTags true` to configure the repo to always push tags and
|
|
72
|
+
then `npm version patch && git push` will do the trick.)
|
|
73
|
+
|
|
71
74
|
|
|
72
75
|
## Dependencies
|
|
73
76
|
|
package/README.md
CHANGED
|
@@ -116,5 +116,6 @@ git switch -c staging
|
|
|
116
116
|
hug fork # new Apps Script project, updates .clasp.json
|
|
117
117
|
hug config set SPREADSHEET_ID=1Bx.. # point at a staging spreadsheet
|
|
118
118
|
hug deploy # deploys to the staging project
|
|
119
|
+
git commit # Commit work in branch.
|
|
119
120
|
git switch main # .clasp.json and config.js switch back to production
|
|
120
121
|
```
|