Skip to content

Procedure to Release New Version

Brian Cunnie edited this page Oct 3, 2017 · 14 revisions

Do not click the checkboxes on this page. This is the template you will be copying.

  • Click on Edit
  • Search-replace: replace all occurrences of 1.0.1 with 1.0.2
  • Copy the numbered steps below.
  • Click on the Issues tab. Click on New Issue.
  • Title the new issue Bump to 1.0.2. Paste the numbered steps into the Issue.

============ Cut and paste everything below this line ============

Procedure to Release New Version of speechbroker

  1. Make sure code is formatted and bug-free
  • Bump the version number in main.go
  • gofmt -w .
  • ginkgo -r .
  • git add -p; git duet-commit -vm"bump to 1.0.2"; git tag 1.0.2; git push; git push --tags
  • Test and install it on the test server:
ssh -i /c/Users/saint/.ssh/id_github [email protected]
cd $GOPATH/src/github.com/blabbertabber/speechbroker
git pull -r
go build
sudo setcap cap_setgid+ep speechbroker
sudo systemctl stop diarizer.service
sudo -u diarizer ./speechbroker \
    -ibmServiceCredsPath=/etc/speechbroker/ibm_service_creds.json \
    -speedfactorsPath=/etc/speechbroker/speedfactors.json
 # This command doesn't finish.  From here you test using BlabberTabber.
 # run BlabberTabber, upload file, check output -- .txt files there?
 # if not, debug and repeat
sudo cp speechbroker /usr/local/bin/
sudo setcap cap_setgid+ep /usr/local/bin/speechbroker
sudo systemctl start diarizer.service
  • Test and install it on the production server:
ssh -i /c/Users/saint/.ssh/id_github [email protected]
cd $GOPATH/src/github.com/blabbertabber/speechbroker
git pull -r
go build
sudo setcap cap_setgid+ep speechbroker
sudo systemctl stop diarizer.service
sudo -u diarizer ./speechbroker \
    -ibmServiceCredsPath=/etc/speechbroker/ibm_service_creds.json \
    -speedfactorsPath=/etc/speechbroker/speedfactors.json
 # run BlabberTabber, upload file, check output -- .txt files there?
 # if not, debug and repeat
sudo cp speechbroker /usr/local/bin/
sudo setcap cap_setgid+ep /usr/local/bin/speechbroker
sudo systemctl start diarizer.service
Clone this wiki locally