Skip to content

Commit

Permalink
Merge pull request #1135 from LD4P/patch-0.3.9
Browse files Browse the repository at this point in the history
Tagged Release 0.3.9
  • Loading branch information
ndushay authored Aug 1, 2019
2 parents 415bb2c + 3a68649 commit 2310282
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 24 deletions.
26 changes: 18 additions & 8 deletions .github/ISSUE_TEMPLATE/tagged-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,29 @@ assignees: ''

- [ ] Update the version in *package.json*
- [ ] `npm i` to regenerate *package-lock.json*
- [ ] Create a feature branch in git for the version
- [ ] Create a feature branch in git for the version (suggest `patch-{verson}`)
- [ ] `npm publish` to publish the version to [npm registry](https://npmjs.com).
- [ ] Product owner assigned Release notes
- [ ] Updates `NewsItem.js` component, creates commit on feature branch.
- [ ] Sinopia [Wiki](https://github.com/LD4P/sinopia/wiki/Latest-Release,-What's-Next)
- [ ] Feature branch merged and circle-ci has successfully pushed new builds for
the `latest`, `stage`, and `prod` to docker hub.
- [ ] Git annotated tag and push to Github
- [ ] `git tag -a v{version} -m "{your message}"` to create an annotated tag
- [ ] `git push origin v{version}` to push up to the project's
[releases](https://github.com/LD4P/sinopia_editor/releases)
- [ ] Docker build and publish tagged Image, see See [documentation](https://github.com/LD4P/sinopia_editor/#building-latest-docker-image) for more information
- [ ] Build a tagged Docker image i.e. `docker build -t ld4p/sinopia_editor:{version} .`
- [ ] Push the tagged version to Dockerhub with `docker push ld4p/sinopia_editor:{version}`
- [ ] Product owner assigned Release notes
- [ ] Updates `NewsItem.js` component
- [ ] Sinopia [Wiki](https://github.com/LD4P/sinopia/wiki/Latest-Release,-What's-Next)
- [ ] Adds wiki link to the tagged version in Github
- [ ] Dockerhub Images Management
- [ ] Pull latest **stage** and **prod** images
- [ ] `docker pull ld4p/sinopia_editor:stage`
- [ ] `docker pull ld4p/sinopia_editor:prod`
- [ ] Tag **stage** and **prod** images with version
- [ ] `docker tag ld4p/sinopia_editor:stage ld4p/sinopia_editor:{version}-stage`
- [ ] `docker tag ld4p/sinopia_editor:prod ld4p/sinopia_editor:{version}-prod`
- [ ] Push the tagged versions to Dockerhub
- [ ] `docker push ld4p/sinopia_editor:{version}-stage`
- [ ] `docker push ld4p/sinopia_editor:{version}-prod`
- [ ] Once tagged release is live on https://development.sinopia.io, this ticket will be assigned to the product owner who will approve the tagged release for deployment on
- [ ] Staging at https://stage.sinopia.io/
- [ ] Create a new terraform PR for staging
- [ ] Production at https://sinopia.io
- [ ] Create a new terraform PR for production
41 changes: 28 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,19 +225,34 @@ $ aws ecs update-service --service sinopia-homepage --region us-west-2 --cluster

The steps to create a tagged release of the Sinopia's Linked Data Editor are as follows:

1. Create an issue using the Tagged Release template.
1. Update the version in `package.json`
1. Run `npm i` to regenerate `package-lock.json`
1. Publish the version to npm registry by issuing `npm publish` command in the root projects
directory. (Requires publishing rights to the project in the npmjs.com registry)
1. Create a Github annotated tag and push up to the project's
[releases](https://github.com/LD4P/sinopia_editor/releases) page along with release notes
1. Build a tagged Docker image i.e. `docker build -t ld4p/sinopia_editor:{version} .`
1. Push the tagged version to Dockerhub with `docker push ld4p/sinopia_editor:{version}`,
See [documentation](#building-latest-docker-image) for more information
1. Once tagged release is live on https://development.sinopia.io, the project owner will approve the tagged release for deployment on:
1. Staging at https://stage.sinopia.io/
1. Production at https://sinopia.io
1. Update the version in *package.json*
1. `npm i` to regenerate *package-lock.json*
1. Create a feature branch in git for the version (suggest `patch-{verson}`)
1. `npm publish` to publish the version to [npm registry](https://npmjs.com).
1. Product owner assigned Release notes
- Updates `NewsItem.js` component, creates commit on feature branch.
- Sinopia [Wiki](https://github.com/LD4P/sinopia/wiki/Latest-Release,-What's-Next)
1. Feature branch merged and circle-ci has successfully pushed new builds for
the `latest`, `stage`, and `prod` to docker hub.
1. Git annotated tag and push to Github
- `git tag -a v{version} -m "{your message}"` to create an annotated tag
- `git push origin v{version}` to push up to the project's
[releases](https://github.com/LD4P/sinopia_editor/releases)
1. Dockerhub Images Management
1. Pull latest **stage** and **prod** images
- `docker pull ld4p/sinopia_editor:stage`
- `docker pull ld4p/sinopia_editor:prod`
1. Tag **stage** and **prod** images with version
- `docker tag ld4p/sinopia_editor:stage ld4p/sinopia_editor:{version}-stage`
- `docker tag ld4p/sinopia_editor:prod ld4p/sinopia_editor:{version}-prod`
1. Push the tagged versions to Dockerhub
- `docker push ld4p/sinopia_editor:{version}-stage`
- `docker push ld4p/sinopia_editor:{version}-prod`
1. Once tagged release is live on https://development.sinopia.io, this ticket will be assigned to the product owner who will approve the tagged release for deployment on
1. Staging at https://stage.sinopia.io/
- Create a new terraform PR for staging
1. Production at https://sinopia.io
- Create a new terraform PR for production

# LD4P's fork of the BIBFRAME Editor
The Sinopia Editor is forked from [https://github.com/lcnetdev/bfe][BFE_GIT].
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"editor",
"rdf"
],
"version": "0.3.8",
"version": "0.3.9",
"homepage": "http://github.com/LD4P/sinopia_editor/",
"repository": {
"type": "git",
Expand Down

0 comments on commit 2310282

Please sign in to comment.