File tree Expand file tree Collapse file tree 1 file changed +24
-14
lines changed Expand file tree Collapse file tree 1 file changed +24
-14
lines changed Original file line number Diff line number Diff line change @@ -151,22 +151,32 @@ A full release via Docker may be completed with the following:
151
151
--env NPM_CONFIG_PREFIX=/home/node/.npm-global \
152
152
handlebars:release bash -c 'export PATH=$PATH:/home/node/.npm-global/bin; bash'
153
153
```
154
- 3. Add SSH key to GitHub: `cat /home/node/.ssh/id_ed25519.pub` (https://github.com/settings/keys)
155
- 4. Add GitHub API token: `vi /home/node/.config/generator-release`
156
- 5. Execute the following steps:
154
+ * Add SSH key to GitHub: `cat /home/node/.ssh/id_ed25519.pub` (https://github.com/settings/keys)
155
+ * Add GitHub API token: `vi /home/node/.config/generator-release`
156
+ * Execute the following steps:
157
+ ```bash
158
+ npm ci
159
+ npm install -g yo@1 grunt@1 generator-release
160
+ npm run release
161
+ yo release
162
+ npm login
163
+ npm publish
164
+ yo release:publish components handlebars.js dist/components/
165
+ ```
166
+ 6. Publish Ruby `handlebars-source` gem:
157
167
```bash
158
- npm ci
159
- npm install -g yo@1 grunt@1 generator-release
160
- npm run release
161
- yo release
162
- npm login
163
- npm publish
164
- yo release:publish components handlebars.js dist/components/
165
-
166
- cd dist/components/
167
- gem build handlebars-source.gemspec
168
- gem push handlebars-source-*.gem
168
+ docker run --rm --interactive --tty \
169
+ --volume $PWD:/app \
170
+ --workdir /app \
171
+ --user $(id -u):$(id -g) \
172
+ ruby:3.2-slim bash
169
173
```
174
+ * Execute the following steps:
175
+ ```bash
176
+ cd dist/components/
177
+ gem build handlebars-source.gemspec
178
+ gem push handlebars-source-*.gem
179
+ ```
170
180
171
181
# ## After the release
172
182
You can’t perform that action at this time.
0 commit comments