Skip to content

Commit

Permalink
Update RELEASING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maxg-square authored Jan 16, 2025
1 parent f457c6b commit 30eebdc
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
# Releasing a new version

1. You must be listed as an owner of the pods `ListableUI` and `BlueprintUILists`.

To check this run:

```bash
bundle exec pod trunk info ListableUI
bundle exec pod trunk info BlueprintUILists
```

See [the CocoaPods documentation for pod trunk](https://guides.cocoapods.org/making/getting-setup-with-trunk) for more information about setting up credentials on your device. If you need to be added as an owner, ping in #listable on Slack (Square only).

1. Make sure you're on the `main` branch, and `git pull` to get the latest commits.

1. Create a branch off `main` to update the version numbers and `Podfile.lock`. An example name would be `your-username/release-0.1.0`.
1. Create a branch off `main` to update the version numbers. An example name would be `your-username/release-0.1.0`.

1. Update localized strings. Find the sha of the latest commit with `git log`, then run `./Scripts/install_localized_strings.sh [sha]` to download the latest translations.

Expand All @@ -23,9 +12,7 @@

The changelog uses [reference links](https://daringfireball.net/projects/markdown/syntax#link) to link each version's changes. Remember to add a link to the new version at the bottom of the file, and to update the link to `[main]`.

1. Run `bundle exec pod install` to update the `Podfile.lock` with the new versions.

1. Commit the podspec version bumps and the `Podfile.lock` update.
1. Commit the version bumps.
```bash
git commit -am "Bumping versions to 0.1.0."
```
Expand All @@ -43,14 +30,3 @@
git tag 0.1.0 <merge commit SHA>
git push origin 0.1.0
```

1. Publish to CocoaPods

Note: You may also need to quit Xcode before running these commands in order for the linting builds to succeed.

```bash
LISTABLE_PUBLISHING=true bundle exec pod trunk push ListableUI.podspec
# The --synchronous argument ensures this command builds against the
# version of ListableUI that we just published.
LISTABLE_PUBLISHING=true bundle exec pod trunk push BlueprintUILists.podspec --synchronous
```

0 comments on commit 30eebdc

Please sign in to comment.