Skip to content

Instantly share code, notes, and snippets.

@anacrolix
Last active March 5, 2019 01:07
Show Gist options
  • Save anacrolix/bc342e13e8052bf9ff737b49b735af8b to your computer and use it in GitHub Desktop.
Save anacrolix/bc342e13e8052bf9ff737b49b735af8b to your computer and use it in GitHub Desktop.
Helpful resources for moving libp2p and IPFS repos toward go mod support

Prune local tags that don't exist on remote

All "naked" version tags from gx are now prefixed with gx/. The old ones should be removed from local checkouts to avoid repushing. This command removes local tags that don't exist on the remote.

git fetch --prune <remote> '+refs/tags/*:refs/tags/*'

Travis turd template

This template does CI for both gx and go-mod:

https://github.com/ipfs/ci-helpers/blob/master/travis-ci/travis.example.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment