aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2021-09-26 08:56:50 -0700
committerJustin M. Keyes <justinkz@gmail.com>2021-09-26 15:15:30 -0700
commitc9e4f86b7555d2fceb9eb66253403048816513ad (patch)
tree85d646394ddd53e878c23c416593a6720f18e31e
parent14cdaca6a8180c6e3079cd2e73fa75a5eb5253da (diff)
downloadrneovim-c9e4f86b7555d2fceb9eb66253403048816513ad.tar.gz
rneovim-c9e4f86b7555d2fceb9eb66253403048816513ad.tar.bz2
rneovim-c9e4f86b7555d2fceb9eb66253403048816513ad.zip
fix(release.sh): ignore failed "rm"
-rwxr-xr-xscripts/release.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index 4ec959d697..380503662d 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -80,8 +80,8 @@ _do_release_commit() {
_do_bump_commit() {
$__sed -i.bk 's/(NVIM_VERSION_PRERELEASE) ""/\1 "-dev"/' CMakeLists.txt
$__sed -i.bk 's/set\((NVIM_VERSION_PATCH) [[:digit:]]/set(\1 ?/' CMakeLists.txt
- rm CMakeLists.txt.bk
- rm runtime/nvim.appdata.xml.bk
+ rm -f CMakeLists.txt.bk
+ rm -f runtime/nvim.appdata.xml.bk
nvim +'/NVIM_VERSION' +1new +'exe "norm! iUpdate version numbers!!!"' \
-O CMakeLists.txt