All Projects β†’ algolia β†’ Shipjs

algolia / Shipjs

Licence: mit
Take control of what is going to be your next release.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Shipjs

perfekt
Release, changelog and version your packages with perfe(k)t πŸ‘Œ ease!
Stars: ✭ 15 (-97.75%)
Mutual labels:  semantic, semver, versioning, release
Automatic Release
Automates the release process for GitHub projects.
Stars: ✭ 46 (-93.11%)
Mutual labels:  release, ci, semantic
Cli
πŸ†‘πŸ“ Setup automated semver compliant package publishing
Stars: ✭ 272 (-59.28%)
Mutual labels:  automation, release, semver
Python Semver
Python package to work with Semantic Versioning (http://semver.org/)
Stars: ✭ 264 (-60.48%)
Mutual labels:  versioning, release, semver
React Native Version
πŸ”’ Version your React Native or Expo app in a `npm version` fashion.
Stars: ✭ 408 (-38.92%)
Mutual labels:  versioning, release, semver
Semver.c
Semantic version library written in ANSI C
Stars: ✭ 147 (-77.99%)
Mutual labels:  versioning, semver, semantic
Please
please is semver release made easy
Stars: ✭ 72 (-89.22%)
Mutual labels:  automation, release, semver
Release It
πŸš€ Automate versioning and package publishing
Stars: ✭ 4,773 (+614.52%)
Mutual labels:  automation, release, semver
Semantic Release
πŸ“¦πŸš€ Fully automated version management and package publishing
Stars: ✭ 14,364 (+2050.3%)
Mutual labels:  automation, release, semver
Standard Version
πŸ† Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
Stars: ✭ 5,806 (+769.16%)
Mutual labels:  versioning, release, semantic
McSherry.SemanticVersioning
A semantic versioning library for .NET 5, Core, FX, and Standard with version range support.
Stars: ✭ 16 (-97.6%)
Mutual labels:  semantic, versioning
change
A simple tool that automates generating and updating a changelog
Stars: ✭ 47 (-92.96%)
Mutual labels:  semver, release
glare
gracefully download (latest) releases from GitHub
Stars: ✭ 64 (-90.42%)
Mutual labels:  semver, release
generate-changelog
generates changelog from git based on jira tickets
Stars: ✭ 18 (-97.31%)
Mutual labels:  ci, release
Jsemver
Java implementation of the SemVer Specification
Stars: ✭ 360 (-46.11%)
Mutual labels:  versioning, semver
Fastlane Plugin Versioning
Extends fastlane versioning actions. Allows to set/get versions without using agvtool and do some other small tricks.
Stars: ✭ 357 (-46.56%)
Mutual labels:  automation, versioning
tag
Git utility to create tags in order to identify specific releases
Stars: ✭ 24 (-96.41%)
Mutual labels:  versioning, release
Bump
Bump updates the project's version, updates/creates the changelog, makes the bump commit, tags the bump commit and makes the release to GitHub. Opinionated but configurable.
Stars: ✭ 327 (-51.05%)
Mutual labels:  automation, release
Axion Release Plugin
Gradle release & version management plugin.
Stars: ✭ 372 (-44.31%)
Mutual labels:  versioning, release
Blt
Acquia's toolset for automating Drupal 8 and 9 development, testing, and deployment.
Stars: ✭ 412 (-38.32%)
Mutual labels:  automation, ci

πŸ›³ Ship.js

npm CircleCI NPM All Contributors Chat on Slack

Take control of what is going to be your next release.
https://community.algolia.com/shipjs/

Features

  • Automated
    • Minimize your effort for release and make less mistakes.
  • Asynchronous
    • You don't have to release on your local machine. Do it asynchronously and continue your work.
  • Collaborative
    • Don't sweat it alone. Review the next release on pull request with your colleagues.

Installation

Running the following command will guide you to set it up interactively.

npx shipjs setup

This interactive CLI will help you install Ship.js into your package and create a tailored config file for your project.

npx shipjs setup

Why πŸ€·πŸ»β€

Coding is fun, debugging and testing are okay, but releasing is NOT.

When releasing, you go through something like the following:

  • Update the version in package.json
  • Update the changelog
  • Actually release it (e.g. npm run build && npm publish)
  • Create a git tag
  • Create a release on GitHub

What could go wrong?

  • You might make mistakes during the release.
    • Environments are different across your team members.
    • You're releasing alone because the whole process happens on your local machine.
    • It's not your everyday-job. Mistakes can happen.
  • You are blocked and cannot do anything else until it's done.
    • Even if you have a release script, you need to watch until the script finishes well.
    • You don't want to switch to another feature branch and work there until the script finishes.

How to solve them❓

In Ship.js, the release process consists of three parts.

Part 1. Preparation (shipjs prepare)

Preview

Run shipjs prepare and it will briefly do the following:

  • Figure out next version.
  • Update the version and changelog.
  • Create a pull request.

It takes less than a couple of minutes.

Part 2. Review

  • Review the PR by yourself, or with your colleagues.
  • Add more commits to the PR if you want.
  • You can hold the release, build from the staging branch and test it manually.
  • If you want to cancel the release, just close the PR and delete the staging branch.

When you think it's ready to release, merge the PR.

Part 3. Trigger a release (shipjs trigger)

Run shipjs trigger and it will briefly do the following:

  • Run a final test (unit, e2e, etc).
  • Release it to NPM (or elsewhere as you configure it).
  • Create a git tag for the version.
  • Create a release for the tag on GitHub.

You can manually run shipjs trigger on the base branch after the PR is merged.

However you can also configure your CI service(e.g. CircleCI) to do this for you. It means the longest process is on the CI service asynchronously, not occupying your working environment.

Getting Started

Let's move on to the guide.

Or, you can watch this video if you prefer.

Getting Started with Ship.js

How is it different from semantic-release?

semantic-release is a tool for fully automated version management and package publishing.

Ship.js gives you more control over the release process. Ship.js automatically creates a PR before publishing every release, so that you can:

  • Confirm the next version is correct.
  • Confirm which commits are going to be released and discuss them with colleagues.
  • Edit the automatically generated changelog for clarity & readability.
  • Run any automated tests on the package release candidate.
  • Build a release candidate automatically (with Pika CI or CodeSandbox).

How to Contribute?

Read Contribution Guide β†’

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Eunjae Lee

πŸ’» πŸ“–

Fred K. Schott

πŸ“–

Yasuaki Uechi

πŸ’» πŸ“–

Dmitry Ivakhnenko

πŸ’» πŸ“–

James George

πŸ’» πŸ“–

kazuya kawaguchi

πŸ’» πŸ“

tyankatsu

πŸ’» πŸ“–

Haroen Viaene

πŸ’»

Shinya Ohyanagi

πŸ’»

Donghoon Song

πŸ’»

Miyata Jumpei

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

Badge deploy

Show the world you're using Ship.js

[![deploy](https://img.shields.io/badge/deploy-πŸ›³%20Ship.js-blue?style=flat)](https://github.com/algolia/shipjs)
<a title="deploy" href="https://github.com/algolia/shipjs" rel="nofollow">
  <img src="https://img.shields.io/badge/deploy-πŸ›³%20Ship.js-blue?style=flat" />
</a>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].