Skip to content

Commit b644303

Browse files
authored
Update release instructions (#182)
1 parent 16169a4 commit b644303

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ There is a script that automates the process of creating new NPM packages and Do
4646
4. `pnpm run publish:airnode-feed && pnpm run publish:signed-api` - To publish Airnode feed and Signed API package to
4747
NPM.
4848
5. `git push --follow-tags` - Push the tagged version commit upstream.
49-
6. `pnpm run create-release:docker` - To build the Docker images and tag them correctly. The script uses the current
49+
6. Do a GitHub release for the specific tag.
50+
7. `pnpm run create-release:docker` - To build the Docker images and tag them correctly. The script uses the current
5051
package.json version so it expects the NPM release is done first.
51-
7. The command outputs the publish instructions to push the images.
52+
8. The command outputs the publish instructions to push the images.

scripts/create-npm-release.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ const main = () => {
111111

112112
console.info('Creating new commit...');
113113
execSyncWithErrorHandling('git add .');
114-
execSyncWithErrorHandling(`git commit -m "${newVersion}"`);
114+
execSyncWithErrorHandling(`git commit -m "v${newVersion}"`);
115115

116116
console.info('Creating new annotated git tag...');
117-
execSyncWithErrorHandling(`git tag -a ${newVersion} -m "${newVersion}"`);
117+
execSyncWithErrorHandling(`git tag -a v${newVersion} -m "v${newVersion}"`);
118118

119119
console.info('');
120120
console.info('The airnode-feed and signed-api packages have been bumped to the new version.');

0 commit comments

Comments
 (0)