Skip to content

Commit

Permalink
Update release instructions (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
Siegrift authored Jan 8, 2024
1 parent 16169a4 commit b644303
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ There is a script that automates the process of creating new NPM packages and Do
4. `pnpm run publish:airnode-feed && pnpm run publish:signed-api` - To publish Airnode feed and Signed API package to
NPM.
5. `git push --follow-tags` - Push the tagged version commit upstream.
6. `pnpm run create-release:docker` - To build the Docker images and tag them correctly. The script uses the current
6. Do a GitHub release for the specific tag.
7. `pnpm run create-release:docker` - To build the Docker images and tag them correctly. The script uses the current
package.json version so it expects the NPM release is done first.
7. The command outputs the publish instructions to push the images.
8. The command outputs the publish instructions to push the images.
4 changes: 2 additions & 2 deletions scripts/create-npm-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ const main = () => {

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

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

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

0 comments on commit b644303

Please sign in to comment.