Last updates
This commit is contained in:
parent
e2146a733b
commit
7ab60ba85b
2 changed files with 7 additions and 3 deletions
2
.github/workflows/publish_release.yml
vendored
2
.github/workflows/publish_release.yml
vendored
|
@ -32,8 +32,6 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./path/to/asset.zip
|
||||
asset_name: asset.zip
|
||||
asset_content_type: application/zip
|
||||
- name: Publish release
|
||||
uses: StuYarrow/publish-release@v1.1.2
|
||||
|
|
8
Makefile
8
Makefile
|
@ -49,18 +49,24 @@ increment_sub_version:
|
|||
sed -i "s/$(VERSION)/$(UPDATE_SUB_VERSION)/" mysqltuner.pl *.md .github/workflows/*.yml
|
||||
git add ./*.md ./mysqltuner.pl
|
||||
git commit -m "Generate $(UPDATE_SUB_VERSION) sub version at $(shell date --iso=seconds)"
|
||||
git tag -a v$(UPDATE_SUB_VERSION) -m "Generate $(UPDATE_SUB_VERSION) sub version at $(shell date --iso=seconds)"
|
||||
git push --tags
|
||||
|
||||
increment_minor_version:
|
||||
@echo "Incrementing minor version from $(VERSION) to $(UPDATE_MINOR_VERSION)"
|
||||
sed -i "s/$(VERSION)/$(UPDATE_MINOR_VERSION)/" mysqltuner.pl *.md .github/workflows/*.yml
|
||||
git add ./*.md ./mysqltuner.pl
|
||||
git commit -m "Generate $(UPDATE_SUB_VERSION) minor version at $(shell date --iso=seconds)"
|
||||
git commit -m "Generate $(UPDATE_MINOR_VERSION) minor version at $(shell date --iso=seconds)"
|
||||
git tag -a v$(UPDATE_MINOR_VERSION) -m "Generate $(UPDATE_MINOR_VERSION) minor version at $(shell date --iso=seconds)"
|
||||
git push --tags
|
||||
|
||||
increment_major_version:
|
||||
@echo "Incrementing major version from $(VERSION) to $(UPDATE_MAJOR_VERSION)"
|
||||
sed -i "s/$(VERSION)/$(UPDATE_MAJOR_VERSION)/" mysqltuner.pl *.md .github/workflows/*.yml
|
||||
git add ./*.md ./mysqltuner.pl
|
||||
git commit -m "Generate $(UPDATE_SUB_VERSION) major version at $(shell date --iso=seconds)"
|
||||
git tag -a v$(UPDATE_MINOR_VERSION) -m "Generate $(UPDATE_MAJOR_VERSION) major version at $(shell date --iso=seconds)"
|
||||
git push --tags
|
||||
|
||||
push:
|
||||
git push
|
Loading…
Reference in a new issue