-
Notifications
You must be signed in to change notification settings - Fork 3
Procedure to Release New Version
Brian Cunnie edited this page Nov 4, 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.5 with 1.0.6
- Copy the numbered steps below.
- Click on the Issues tab. Click on New Issue.
- Title the new issue "Release 1.0.5". Paste the numbered steps into the Issue.
============ Cut and paste everything below this line ============
- Make sure code is formatted and bug-free
- Bump the version number in
main.go
-
gofmt -w .
-
ginkgo -r .
- Add & push:
git add -p
git duet-commit -vm":package: Release 1.0.5"
git tag 1.0.5
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