mirror of
https://github.com/UiO-Gaming/ShiteMusicBot.git
synced 2026-11-05 13:56:51 +01:00
Remove bump tag
This commit is contained in:
1 parent
75c283e959
commit
d6c6ae57d5
1 file changed
-11
@@ -45,17 +45,6 @@ jobs:
|
||||
echo "::set-output name=username::$(echo ${_username} | cut -d/ -f1 | tr '[:upper:]' '[:lower:]')"
|
||||
echo "::set-output name=repo::$(echo ${_repo} | tr '[:upper:]' '[:lower:]')"
|
||||
|
||||
- name: Bump TAG
|
||||
if: github.ref == 'refs/heads/master'
|
||||
id: tagger
|
||||
run: |
|
||||
version=$(grep -i bot_version musicbot/utils/bot_version.py | cut -d" " -f3 | tr -d \")
|
||||
a=(${version//./ })
|
||||
((a[2]++))
|
||||
new_version=$(echo "${a[0]}.${a[1]}.${a[2]}")
|
||||
sed -i "s/${version}/${new_version}/g" musicbot/utils/bot_version.py
|
||||
echo "::set-output name=tag::${new_version}"
|
||||
|
||||
- name: Push changed files, and tags
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: EndBug/add-and-commit@v4
|
||||
|
||||
Reference in new issue
Block a user