You've already forked wc-tier-and-package-prices
Add wc-licensed-product-client as git submodule
Some checks failed
Create Release Package / build-release (push) Failing after 4m36s
Some checks failed
Create Release Package / build-release (push) Failing after 4m36s
- Bundle magdev/wc-licensed-product-client as git submodule - Update composer.json to use path repository instead of VCS - Update .gitignore to allow submodule in vendor directory - Update CI workflow to checkout submodules recursively - Remove private repository authentication step (no longer needed) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
@@ -29,12 +31,6 @@ jobs:
|
||||
- name: Validate composer.json
|
||||
run: composer validate --strict
|
||||
|
||||
- name: Configure Composer for private repository
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.SRC_GITEA_TOKEN }}
|
||||
run: |
|
||||
composer config --global http-basic.src.bundespruefstelle.ch token "${GITEA_TOKEN}"
|
||||
|
||||
- name: Install Composer dependencies (production)
|
||||
run: |
|
||||
composer config platform.php 8.3.0
|
||||
@@ -92,6 +88,7 @@ jobs:
|
||||
-x "${PLUGIN_NAME}/*.log" \
|
||||
-x "${PLUGIN_NAME}/logs/*" \
|
||||
-x "${PLUGIN_NAME}/.gitignore" \
|
||||
-x "${PLUGIN_NAME}/.gitmodules" \
|
||||
-x "${PLUGIN_NAME}/.editorconfig" \
|
||||
-x "${PLUGIN_NAME}/phpcs.xml*" \
|
||||
-x "${PLUGIN_NAME}/phpunit.xml*" \
|
||||
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -3,7 +3,10 @@
|
||||
Thumbs.db
|
||||
|
||||
# Composer
|
||||
/vendor/
|
||||
/vendor/*
|
||||
!/vendor/magdev/
|
||||
/vendor/magdev/*
|
||||
!/vendor/magdev/wc-licensed-product-client/
|
||||
composer.lock
|
||||
|
||||
# Twig cache
|
||||
|
||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "vendor/magdev/wc-licensed-product-client"]
|
||||
path = vendor/magdev/wc-licensed-product-client
|
||||
url = ssh://git@src.bundespruefstelle.ch:2022/magdev/wc-licensed-product-client.git
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "magdev/wc-tier-package-prices",
|
||||
"description": "WooCommerce plugin for tier pricing and package prices with Twig templates",
|
||||
"version": "1.3.1",
|
||||
"version": "1.4.0",
|
||||
"type": "wordpress-plugin",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"authors": [
|
||||
@@ -12,14 +12,17 @@
|
||||
],
|
||||
"repositories": [
|
||||
{
|
||||
"type": "vcs",
|
||||
"url": "https://src.bundespruefstelle.ch/magdev/wc-licensed-product-client.git"
|
||||
"type": "path",
|
||||
"url": "vendor/magdev/wc-licensed-product-client",
|
||||
"options": {
|
||||
"symlink": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=8.3",
|
||||
"twig/twig": "^3.0",
|
||||
"magdev/wc-licensed-product-client": "dev-main"
|
||||
"magdev/wc-licensed-product-client": "@dev"
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
|
||||
1
vendor/magdev/wc-licensed-product-client
vendored
Submodule
1
vendor/magdev/wc-licensed-product-client
vendored
Submodule
Submodule vendor/magdev/wc-licensed-product-client added at 56abe8a97c
Reference in New Issue
Block a user