Show version during deployment
Some checks failed
CI / deploy (push) Has been cancelled

This commit is contained in:
nicolas.dorier 2025-02-19 23:53:51 +09:00
parent 56d8c94eec
commit 22f699826d
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
3 changed files with 6 additions and 2 deletions

View File

@ -21,6 +21,8 @@ This server is used by the [BTCPay Server Shopify plugin](https://github.com/btc
You can find installation instructions on our official documentation page: [BTCPay Server for Shopify](https://docs.btcpayserver.org/ShopifyV2/)
## Maitainers
## Maintainers
The image is hosted on [docker hub](https://hub.docker.com/r/btcpayserver/shopify-app-deployer), to publish a new one, push a new tag to the repository. The github action is set up to create the image and upload it.
The image is hosted on [docker hub](https://hub.docker.com/r/btcpayserver/shopify-app-deployer), to publish a new one, push a new tag to the repository. The github action is set up to create the image and upload it.
Increment `VERSION` when you want the plugin to be able to notify the user that a new app deployment is needed.

1
VERSION Normal file
View File

@ -0,0 +1 @@
1

View File

@ -7,6 +7,7 @@ echo "COMMIT=${COMMIT}"
cd "$TEMP_DIR"
echo "Creating plugin in directory: ${TEMP_DIR}"
cp -rf /app/* "${TEMP_DIR}"
echo "VERSION=$(cat VERSION)"
cp shopify.app.toml.example shopify.app.toml
sed -i "s|APP_NAME|${APP_NAME}|g" shopify.app.toml