Socket
Socket
Sign inDemoInstall

@dmsi/release-middleware

Package Overview
Dependencies
2
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @dmsi/release-middleware

A tool to tag and release each middleware api service.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Install size
235 kB
Created
Weekly downloads
 

Readme

Source

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.

FAQs

Last updated on 21 May 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc