Update the setup PR
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ class SetupVersion:
|
|||||||
|
|
||||||
def update_addon_init(self):
|
def update_addon_init(self):
|
||||||
"""Simple function to update the bl_info to set the Git tag release"""
|
"""Simple function to update the bl_info to set the Git tag release"""
|
||||||
regex, update = r'[0-9]{1,2}\, [0-9]{1,2}\, [0-9{1,2}]', ''
|
regex, update = r'[0-9]{1,2}\, [0-9]{1,2}\, [0-9]{1,2}', ''
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(self.addon_file, "r") as f:
|
with open(self.addon_file, "r") as f:
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ jobs:
|
|||||||
echo "::set-output name=type::patch"
|
echo "::set-output name=type::patch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- uses: actions/checkout@main
|
||||||
|
|
||||||
- name: Create new Semantic Version
|
- name: Create new Semantic Version
|
||||||
uses: zwaldowski/semver-release-action@v2
|
uses: zwaldowski/semver-release-action@v2
|
||||||
id: new_semantic_setup
|
id: new_semantic_setup
|
||||||
@@ -33,5 +35,12 @@ jobs:
|
|||||||
dry_run: true
|
dry_run: true
|
||||||
prefix: v
|
prefix: v
|
||||||
|
|
||||||
|
- name: Make the github release
|
||||||
|
uses: ncipollo/release-action@v1.10.0
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
prerelease: true
|
||||||
|
tag: ${{ steps.new_semantic_setup.outputs.version_tag }}
|
||||||
|
|
||||||
unit-test:
|
unit-test:
|
||||||
uses: Moderlab-Production/BlenderTemplate/.github/workflows/unit_test.yml@main
|
uses: Moderlab-Production/BlenderTemplate/.github/workflows/unit_test.yml@main
|
||||||
|
|||||||
Reference in New Issue
Block a user