Files
paypoint-backend/.github/workflows/increase-version.yml
veenm a497b8162b
All checks were successful
Docker Image CI / build-and-push (push) Successful in 11m9s
Docker Image CI / deploy (push) Successful in 27s
Docker Image CI / notify-failure (push) Has been skipped
Update:
-delen van agenda toegevoegd
-popup aangepast
-accepteren van uitnodiging toegevoegd
-koppelen van gebruiker aan bedrijf
-versturen van uitnodiging via mail
2025-04-18 22:41:17 +02:00

44 lines
1.3 KiB
YAML

name: Increase Version
on:
push:
branches:
- main # Start bij commits op de main branch
jobs:
bump-version:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config --global user.name "Gitea Actions"
git config --global user.email "actions@gitea.local"
- name: Bump version
run: |
npm version patch --no-git-tag-version
git add package.json package-lock.json
git commit -m "chore: bump version [skip ci]" || echo "No changes to commit"
# Pull the latest changes from the remote main branch before pushing
git pull origin main --rebase
# Push changes to remote main branch
git push origin main
trigger-pipeline-b:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Create and push tag
run: |
git config --global user.name "Gitea Actions"
git config --global user.email "actions@gitea.local"
git tag docker-build-$(date +%s)
git push --tags