Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codastic/release

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codastic/release - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

10

bin/release.js

@@ -45,3 +45,6 @@ #!/usr/bin/env node

' --target-branch (optional) (default: MAJOR.x) The branch where the release will be pushed to.',
' --build-command (optional) Run the build to be able to include the new version from package.json'
[
' --build-command (optional) Run the build to be able to include the new version from package.json.',
'Also adds the built files if they are not ignored.'
].join(' ')
].join('\n'));

@@ -109,3 +112,6 @@ process.exit(1);

'# Run the build script',
`${argv['build-command']} &&`
`${argv['build-command']} &&`,
'# Add built changes',
'git add --all &&',
`git diff-index --quiet HEAD || git commit -m 'Added built files to verion v${newVersion}'`
];

@@ -112,0 +118,0 @@

4

CHANGELOG.md
### v1.3.0 / 2018-02-28 11:11:17
- Add files built via `--build-command` if not ignored (i: Chris Ranz, r: Mario Volke, c: bc55a82)
### v1.2.0 / 2018-01-16 12:33:09

@@ -3,0 +7,0 @@

{
"name": "@codastic/release",
"version": "1.2.0",
"version": "1.3.0",
"description": "A collection of release and changelog management script you can easily use via NPM.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -72,3 +72,3 @@ # @codastic/release

- `--build-command`: *(optional)* Run the build to be able to include the new version from `package.json` (e.g `--build-command='npm run build' ./"`).
- `--build-command`: *(optional)* Run the build to be able to include the new version from `package.json` (e.g `--build-command='npm run build' ./"`). Also adds and commits the build files if they are not ignored.

@@ -75,0 +75,0 @@ ## release-github

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc