Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build-zip/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ inputs:
description: "Skip the checkout step"
required: false
default: 'false'
disableGit:
description: "Use the source folder as it is"
required: false
default: "false"

outputs:
artifact-id:
Expand All @@ -35,7 +39,7 @@ runs:
uses: shopware/shopware-cli-action@v1
- name: Build
shell: bash
run: shopware-cli extension zip "${{ inputs.path }}" --git-commit "${{ github.sha }}" --release
run: shopware-cli extension zip "${{ inputs.path }}" ${{ (inputs.disableGit == 'false' && format('--git-commit {0}', github.sha)) || '--disable-git' }} --release
- name: Rename
shell: bash
run: mv ${{ inputs.extensionName }}-${{ github.sha }}.zip ${{ inputs.extensionName }}.zip
Expand Down
5 changes: 5 additions & 0 deletions store-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ inputs:
description: "Skip the checkout step"
required: false
default: "false"
disableGit:
description: "Use the source folder as it is"
required: false
default: "false"
updateInfo:
description: "Update extension information on the Shopware Store plugin page"
required: false
Expand All @@ -42,6 +46,7 @@ runs:
with:
extensionName: ${{ inputs.extensionName }}
skipCheckout: ${{ inputs.skipCheckout }}
disableGit: ${{ inputs.disableGit }}

- name: Get version
shell: bash
Expand Down