Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: integrate xyz #191

Merged
merged 1 commit into from
Oct 23, 2016
Merged

Conversation

davidchambers
Copy link
Member

Using xyz to release new versions of this package will remove many sources of human error from the process. It will also make releasing new versions very convenient, as one will simply run one of the following commands:

$ npm run-script release-major
$ npm run-script release-minor
$ npm run-script release-patch

This will:

  1. Verify that the current branch is master.
  2. Verify that the working directory contains no unstaged changes.
  3. Present a confirmation prompt.
  4. Verify that npm test exits successfully.
  5. Update the "version" field in package.json.
  6. Commit the change to package.json with the message Version X.Y.Z.
  7. Create an annotated tag named vX.Y.Z pointing to the commit.
  8. Push the commit and the tag—atomically—to GitHub.
  9. Run npm publish.

I've used xyz countless times over the past two and a half years. It's rock solid. It's not Windows-compatible, but I imagine that's not a problem.

Copy link
Member

@SimonRichardson SimonRichardson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wicked, this has always been a pain!

@davidchambers davidchambers merged commit a18c4b7 into fantasyland:master Oct 23, 2016
@davidchambers davidchambers deleted the release branch October 23, 2016 10:06
@davidchambers
Copy link
Member Author

@SimonRichardson, could you run this to grant me permission to upload tarballs to the registry?

$ npm owner add davidchambers fantasy-land

@SimonRichardson
Copy link
Member

Sure, will have to be later, I've not got my computer with me atm

On Sun, 23 Oct 2016, 19:30 David Chambers, [email protected] wrote:

@SimonRichardson https://github.com/SimonRichardson, could you run this
to grant me permission to upload tarballs to the registry?

$ npm owner add davidchambers fantasy-land


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#191 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACcaGPaRn_sUAswGinQ7vcg8pXZN540Jks5q26fDgaJpZM4KeF6O
.

@davidchambers
Copy link
Member Author

No worries, Simon. Hardy added me as an owner. I'll publish the release notes shortly. :)

rjmk added a commit to rjmk/fantasy-land that referenced this pull request Nov 12, 2016
* 'master' of github.com:fantasyland/fantasy-land: (29 commits)
  Version 2.1.0
  Add Alt, Plus and Alternative specs (fantasyland#197)
  Use uppercase letters for Type representatives in laws (fantasyland#196)
  Fix id_test and argument order in laws (fantasyland#193)
  Version 2.0.0
  Another go at updating dependencies (fantasyland#192)
  release: integrate xyz (fantasyland#191)
  test: remove unnecessary lambdas (fantasyland#190)
  require static methods to be defined on type representatives (fantasyland#180)
  lint: integrate ESLint (fantasyland#189)
  Enforce parametricity (fantasyland#184)
  readme: tweak signatures to indicate that methods are not curried (fantasyland#183)
  Fix reduce signature to not use currying (fantasyland#182)
  Link to dependent specifications (fantasyland#178)
  Add Fluture to the list of implementations (fantasyland#175)
  laws/functor: fix composition (fantasyland#173)
  laws/monad: fix leftIdentity (fantasyland#171)
  Minor version bump
  bower: add bower.json (fantasyland#159)
  Fix chainRec signature to not use currying (fantasyland#167)
  ...
@davidchambers davidchambers mentioned this pull request Dec 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants