@dmsi/release-middleware
A tool to tag and release each middleware api service.
Last updated a year ago by renddslow .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @dmsi/release-middleware 
SYNC missed versions from official npm registry.

Release Middleware

At DMSi we have a growing number of Golang middleware services that each need to be tagged, released, and versioned at the end of every version.

Release Middleware attempts to take a monorepo approach to releasing each package/repo with a single command.

Assumptions

Use of release middleware assumes that you have all of the current middleware services pulled down. If you're not sure what you're missing run this in your terminal:

curl -X POST -H "Content-Type: application/json" "https://miami.dmsi.com/graphql" -d "{ \"query\": \"query M { meta { services } }\" }" | python -m json.tool

In addition it is important to ensure that you have recently run go get in each repository to ensure their dependencies are up-to-date. This step will likely be automated in a future version.

Running

To run release-middleware simply run:

npx release-middleware --a <agility version>

This will checkout the latest changes on each develop branch (any local changes will be reset in this step) and branch off into the appropriate release branch. Then add any changes are committed (usually an empty commit for posterity) and a release tag added. The release branch is then merged into master which also has previously had its latest changes pulled down. The master branch and tag are pushed up to origin and the script cleans up the local environment, deleting the local release branch and merging master into develop.

Current Tags

  • 0.1.0                                ...           latest (a year ago)

1 Versions

  • 0.1.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (2)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |