Skip to content

Releasing Packages for Swauth

gholt edited this page Nov 10, 2012 · 4 revisions

Raw, but should help:

  • mkdir package
  • cd package
  • git clone git@github.com:gholt/swauth.git swauth-1.0.2-1
  • cd swauth-1.0.2-1
  • git checkout 1.0.2
  • git clone git@github.com:gholt/swauth_debian.git debian
  • dch -v 1.0.2-1 # Fill in change info, usually by copying what's in Swauth's CHANGELOG.
  • cd debian
  • git commit -a -m 'Releasing 1.0.2-1'
  • git tag 1.0.2-2
  • git push
  • git push --tags
  • rm -rf .git
  • cd ..
  • rm -rf .git
  • debuild -uc -us # Answer y to continue
  • cd ..
  • git clone git@github.com:gholt/swauth.git -b gh-pages gh-pages
  • sudo reprepro --ignore=wrongdistribution -Vb gh-pages/lucid include lucid *changes
  • cd gh-pages
  • cp -a lucid lucid-1.0.2
  • cp -a ../swauth-1.0.2-1/doc/build/html/ 1.0.1
  • ./.touchup 1.0.2
  • git add lucid lucid-1.0.2 1.0.2
  • git rm -rf stable
  • vi index.html # Add the links for the new version
  • git commit -a -m 'Releasing 1.0.2-1'
  • cp -a 1.0.2 stable
  • git add stable
  • git commit -m 'Updating stable to 1.0.2-1'
  • git push
  • cd ../..
  • rm -rf package
Clone this wiki locally