Permalink
Browse files

improving the release process

  • Loading branch information...
hypatia2 committed Apr 2, 2016
1 parent e255c0c commit 444262fc4c504d98ba8b704b8620e92efa60c4d3
Showing with 8 additions and 7 deletions.
  1. +6 −5 build.tcl
  2. +2 −2 sklib/skutil.tcl
@@ -195,8 +195,9 @@ proc release {gituser} {
lappend ::auto_path [file normalize ./lib/generic]
package require json
puts "Enter your github password:"
set gitpass [gets stdin]
# puts "Enter your github password:"
# set gitpass [gets stdin]
set gitpass $::env(FRUHO_GITHUB_RELEASE_PASSWORD)
#set published_at [github-latest-release-date]
@@ -227,8 +228,8 @@ proc push-update {os arch tohost} {
set privkey [file normalize ../confidential/sk/keys/fruho/signer/signer_private.pem]
# sign the binaries
create-signature $privkey $fc
create-signature $privkey $fd
create-signature $privkey $fc env:FRUHO_SIGN_PASSWORD
create-signature $privkey $fd env:FRUHO_SIGN_PASSWORD
# zip the bundle
set zip $updatedir/update.zip
@@ -243,7 +244,7 @@ proc push-update {os arch tohost} {
set ::FRUHO_VERSION 0.0.18
set ::FRUHO_VERSION 0.0.19
prepare-lib sklib 0.0.0
build-total
#build-total x86_64
@@ -170,8 +170,8 @@ proc dbg {args} {
# this is utility for the server side
# returns 1 on success, 0 otherwise
proc create-signature {privkey filepath} {
set cmd [list openssl dgst -sha1 -sign $privkey $filepath > $filepath.sig]
proc create-signature {privkey filepath {opensslarg ""}} {
set cmd [list openssl dgst -sha1 -sign $privkey $filepath $opensslarg > $filepath.sig]
log create-signature: $cmd
# -ignorestderr - Stops the exec command from treating the output of messages to the pipeline's standard error channel as an error case.
if {[catch {exec -ignorestderr {*}$cmd} out err]} {

0 comments on commit 444262f

Please sign in to comment.