Use proper string comparison and end if for Linux
This commit is contained in:
parent
d8bcf235fd
commit
7efbae9f05
2 changed files with 3 additions and 2 deletions
|
@ -13,10 +13,11 @@ else
|
|||
BUILD="live"
|
||||
fi
|
||||
|
||||
if [[ "${GITHUB_REPOSITORY}" -eq "nanocurrency/nano-node" ]]; then
|
||||
if [[ "${GITHUB_REPOSITORY:-}" == "nanocurrency/nano-node" ]]; then
|
||||
S3_BUCKET="repo.nano.org"
|
||||
else
|
||||
S3_BUCKET="private-build-repo"
|
||||
fi
|
||||
|
||||
if [[ "$OS" == 'Linux' ]]; then
|
||||
sha256sum $GITHUB_WORKSPACE/build/nano-node-*-Linux.tar.bz2 >$GITHUB_WORKSPACE/nano-node-$TAG-Linux.tar.bz2.sha256
|
||||
|
|
|
@ -10,7 +10,7 @@ else {
|
|||
$network_cfg = "live"
|
||||
}
|
||||
|
||||
if ( ${env:GITHUB_REPOSITORY} -eq "nanocurrency/nano-node" ) {
|
||||
if ( ${env:GITHUB_REPOSITORY} == "nanocurrency/nano-node" ) {
|
||||
$s3_bucket="repo.nano.org"
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue