Skip to content

Instantly share code, notes, and snippets.

View Cadair's full-sized avatar

Stuart Mumford Cadair

View GitHub Profile
@Cadair
Cadair / 0_reuse_code.js
Created July 12, 2017 10:43
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Cadair
Cadair / pr.md
Last active March 31, 2016 13:51 — forked from piscisaureus/pr.md

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "upstream"]
	fetch = +refs/heads/*:refs/remotes/upstream/*
	url = git@github.com:sunpy/sunpy.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/upstream/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

For Major releases only:

  • Update RELEASE.md
  • Update the version for build numbers on Appveyor (Not sure this really matters)

Pre-release:

  • Check that the Continious Integration is passing for the correct version
  • Update version number in setup.py (the version number branch and don't commit yet)
  • Modify the changelog title (remove (unreleased))
  • Build the source distribution: