-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
## How to make a release and deploy | ||
## How to Make a Release | ||
|
||
### Build | ||
- **Checkout dev branch.** This will contain work queued up for the next release. | ||
- **Update version number.** Manually update version number in `src/lightbox.js` and `package.json`. Don't use `npm version`. | ||
- **`grunt build`.** Make sure you have run `bower install` ahead of this as it will pull down jQuery which is utilized in the build step. | ||
- **Merge to `master`.** Commit changes and push to new branch. Create PR from this branch to `master`. Merge. | ||
|
||
### Release | ||
- **Create tagged release.** Go to [Github Releases page](https://github.com/lokesh/lightbox2/releases). Draft a new release. Naming convention is `v2.8.1`. Add notes that link to PRs. | ||
- **`npm publish`**. No need to do anything for Bower as it is entirely based on the Github repo. | ||
|
||
### Maintenance and Docs | ||
- **GH clean-up.** Close out issues with `[status] pending release`. |