Fix package setup
This commit is contained in:
@@ -18,7 +18,7 @@ on:
|
|||||||
description: 'Info about the release, publish or a draft'
|
description: 'Info about the release, publish or a draft'
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
default: "false"
|
default: 'false'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
APP_NAME: 'moderlab_type'
|
APP_NAME: 'moderlab_type'
|
||||||
@@ -36,16 +36,19 @@ jobs:
|
|||||||
|
|
||||||
# Update the bl info version, update the init file and push if needed
|
# Update the bl info version, update the init file and push if needed
|
||||||
- name: Change version number in the bl info addon data
|
- name: Change version number in the bl info addon data
|
||||||
run: python '.github/version.py' --tag=${{ inputs.num_version }} --name=${{ env.APP_NAME }}
|
run: |
|
||||||
|
echo 'Debug this data : "${{ inputs.draft_version }}"'
|
||||||
|
python '.github/version.py' --tag=${{ inputs.num_version }} --name=${{ env.APP_NAME }}
|
||||||
|
|
||||||
- name: Commit the previous update
|
- name: Commit the previous update
|
||||||
uses: actions-js/push@v1.3
|
uses: actions-js/push@v1.3
|
||||||
if: ${{ inputs.draft_version }}
|
if: ${{ inputs.draft_version == false }}
|
||||||
with:
|
with:
|
||||||
github_token: ${{secrets.GITHUB_TOKEN}}
|
github_token: ${{secrets.GITHUB_TOKEN}}
|
||||||
author_name: Moderlab
|
author_name: Moderlab
|
||||||
author_email: a.vaillant.moderlab@gmail.com
|
author_email: a.vaillant.moderlab@gmail.com
|
||||||
message: '[Bot] Bump to ${{ inputs.num_version }} version.'
|
message: '[Bot] Bump to ${{ inputs.num_version }} version.'
|
||||||
|
branch: develop
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
# Make an archive with the plugin source only
|
# Make an archive with the plugin source only
|
||||||
|
|||||||
Reference in New Issue
Block a user