Skip to content

Commit

Permalink
improved github release script
Browse files Browse the repository at this point in the history
  • Loading branch information
hurngchunlee committed Mar 14, 2019
1 parent fa7ee0e commit aa76fbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/gh-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ fi
while [ "$gh_name" == "" ]; do
read -s -p "github username: " gh_name
done
echo

while [ "$gh_pass" == "" ]; do
read -s -p "github password (${gh_name}): " gh_pass
Expand All @@ -100,7 +101,7 @@ fi
rid=$id

mydir=$( get_script_dir $0 )
path_spec=${mydir}/build/rpm/centos7.spec
path_spec=${mydir}/../build/rpm/centos7.spec

## replace the release version in
out=$( VERSION=${tag} rpmbuild --undefine=_disable_source_fetch -bb ${path_spec} )
Expand Down

0 comments on commit aa76fbd

Please sign in to comment.