我正在準備推出的第一次,所以我做./bump-version.sh沒有這樣的文件
git checkout -b release-1.0 develop
./bump-version.sh 1.0
我找回了錯誤:
bash: ./bump-version.sh: No such file or directory
這是git的問題。這方面的答案是什麼?
我正在準備推出的第一次,所以我做./bump-version.sh沒有這樣的文件
git checkout -b release-1.0 develop
./bump-version.sh 1.0
我找回了錯誤:
bash: ./bump-version.sh: No such file or directory
這是git的問題。這方面的答案是什麼?
看起來您正在關注this guide,描述了通常稱爲Git Flow的模型。在該段
注緊隨其後的你做了什麼bump-version.sh
並不意味着字面執行:
After creating a new branch and switching to it, we bump the version number. Here,
bump-version.sh
is a fictional shell script that changes some files in the working copy to reflect the new version. (This can of course be a manual change—the point being that some files change.) Then, the bumped version number is committed.
所以,做任何有意義的增加版本號爲您的項目。