Skip to content

Commit

Permalink
ci: update release ci runtime name & add release checklist (#105)
Browse files Browse the repository at this point in the history
Signed-off-by: Junjie Gao <[email protected]>
  • Loading branch information
JeyJeyGao authored May 8, 2023
1 parent bd70053 commit 76e501b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions RELEASE_CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Release Checklist

## Overview

This document describes the checklist to publish a release via GitHub workflow.

## Release Process
1. Determine a [SemVer2](https://semver.org/)-valid version prefixed with the letter `v` for release. For example, `version="v1.0.0-rc.1"`.
2. Be on the main branch connected to the actual repository (not a fork) and `git pull`. Ensure `git log -1` shows the latest commit on the main branch.
3. Create a tag `git tag -am $version $version`
4. `git tag` and ensure the name in the list added looks correct, then push the tag directly to the repository by `git push --follow-tags`.
5. Wait for the completion of the GitHub action [release-github](https://github.com/Azure/notation-azure-kv/actions/workflows/release.yml).
6. Check the new draft release, revise the release description, and publish the release.
7. Announce the release in the community.
1 change: 1 addition & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ for runtime in "${runtimes[@]}"; do
mapped_runtime="${runtime/x64/amd64}"
mapped_runtime="${mapped_runtime/win/windows}"
mapped_runtime="${mapped_runtime/osx/darwin}"
mapped_runtime="${mapped_runtime/-/_}"

artifact_name="${artifacts_dir}/${project_name}_${version}_${mapped_runtime}.${ext}"
binary_dir="$output_dir/$runtime"
Expand Down

0 comments on commit 76e501b

Please sign in to comment.