Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
343dd9bc
Unverified
Commit
343dd9bc
authored
Jul 21, 2020
by
Oran Agra
Committed by
GitHub
Jul 21, 2020
Browse files
Fixes to release scripts (#7547)
parent
f7f77a74
Changes
2
Hide whitespace changes
Inline
Side-by-side
utils/releasetools/03_test_release.sh
View file @
343dd9bc
...
@@ -14,6 +14,7 @@ echo "Doing sanity test on the actual tarball"
...
@@ -14,6 +14,7 @@ echo "Doing sanity test on the actual tarball"
cd
/tmp
cd
/tmp
rm
-rf
test_release_tmp_dir
rm
-rf
test_release_tmp_dir
mkdir
test_release_tmp_dir
cd
test_release_tmp_dir
cd
test_release_tmp_dir
rm
-f
$TARNAME
rm
-f
$TARNAME
rm
-rf
redis-
${
TAG
}
rm
-rf
redis-
${
TAG
}
...
...
utils/releasetools/04_release_hash.sh
View file @
343dd9bc
...
@@ -7,8 +7,7 @@ fi
...
@@ -7,8 +7,7 @@ fi
SHA
=
$(
curl
-s
http://download.redis.io/releases/redis-
${
1
}
.tar.gz | shasum
-a
256 |
cut
-f
1
-d
' '
)
SHA
=
$(
curl
-s
http://download.redis.io/releases/redis-
${
1
}
.tar.gz | shasum
-a
256 |
cut
-f
1
-d
' '
)
ENTRY
=
"hash redis-
${
1
}
.tar.gz sha256
$SHA
http://download.redis.io/releases/redis-
${
1
}
.tar.gz"
ENTRY
=
"hash redis-
${
1
}
.tar.gz sha256
$SHA
http://download.redis.io/releases/redis-
${
1
}
.tar.gz"
echo
$ENTRY
>>
~/hack/redis-hashes/README
echo
$ENTRY
>>
../redis-hashes/README
vi ../redis-hashes/README
echo
"Press any key to commit, Ctrl-C to abort)."
echo
"Press any key to commit, Ctrl-C to abort)."
read yes
read yes
(
cd
../redis-hashes
;
git commit
-a
-m
"
${
1
}
hash."
;
git push
)
(
cd
../redis-hashes
;
git commit
-a
-m
"
${
1
}
hash."
;
git push
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment