🚀 DAY 4 OF LAUNCH WEEK: Introducing GitHub Actions Scanning Support.Learn more →
Socket
Book a DemoInstallSign in
Socket

@dmsi/release-middleware

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dmsi/release-middleware

A tool to tag and release each middleware api service.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
2
Created
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

Package last updated on 21 May 2019

Did you know?

Socket

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