chore: fix code formatting via Prettier

This commit is contained in:
digikwal 2025-06-26 18:07:51 +02:00
parent 79046f9480
commit 77f393fa79
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.11' python-version: "3.11"
- name: Install pre-commit - name: Install pre-commit
run: | run: |
@ -38,7 +38,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: '3.11' python-version: "3.11"
- name: Install linters - name: Install linters
run: | run: |

View file

@ -3,7 +3,7 @@ name: Digikwal stable
on: on:
release: release:
types: [published] types: [published]
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -18,7 +18,7 @@ jobs:
username: ${{ secrets.DOCKER_USER }} username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PAT }} password: ${{ secrets.DOCKER_PAT }}
- name: Setup enviroment variables - name: Setup environment variables
run: | run: |
export APPS_JSON_BASE64=$(base64 < ./apps.json | tr -d '\n') export APPS_JSON_BASE64=$(base64 < ./apps.json | tr -d '\n')
echo "APPS_JSON_BASE64=$APPS_JSON_BASE64" >> $GITHUB_ENV echo "APPS_JSON_BASE64=$APPS_JSON_BASE64" >> $GITHUB_ENV
@ -38,9 +38,9 @@ jobs:
DOCKER_IMAGE: digikwal/erpnext DOCKER_IMAGE: digikwal/erpnext
run: | run: |
echo "Using immutable tag: $TAG_NAME" echo "Using immutable tag: $TAG_NAME"
docker push ${DOCKER_IMAGE}:${TAG_NAME} docker push ${DOCKER_IMAGE}:${TAG_NAME}
if [[ "$TAG_NAME" == *"-"* ]]; then if [[ "$TAG_NAME" == *"-"* ]]; then
echo "Detected prerelease. Tagging as dev..." echo "Detected prerelease. Tagging as dev..."
docker tag ${DOCKER_IMAGE}:${TAG_NAME} ${DOCKER_IMAGE}:dev docker tag ${DOCKER_IMAGE}:${TAG_NAME} ${DOCKER_IMAGE}:dev