Skip to content

Commit

Permalink
Write some notes on how to release
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Aug 28, 2024
1 parent 917b573 commit ccfc352
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Releasing `apple_rules_lint`

1. Update the `MODULE.bazel` and bump the version number to whatever the
next release will be.
2. `git tag "${TAG}"` where `${TAG}` is whatever the next release will be.
3. `./scripts/build-release-artifacts`
4. Create a new release on GitHub, and attach the artifacts generated by the
previous step.
5. Update the BCR with the new release
6. ...
7. Profit!
6 changes: 6 additions & 0 deletions scripts/build-release-artifacts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

set -euo pipefail

TAG="$1"
git archive --format=tar --prefix=apple_rules_lint-"${TAG}"/ "${TAG}" | gzip > apple_rules_lint-"${TAG}".tar.gz

0 comments on commit ccfc352

Please sign in to comment.