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
30 changes: 15 additions & 15 deletions .github/workflows/build-test-release.yml

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hier hab ich nur die Einrückung angepasst, weil meine IDE das rot markiert hatte

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'build-test-release'

on:
on:
workflow_dispatch:
pull_request:
push:
Expand Down Expand Up @@ -58,19 +58,19 @@ jobs:
node-version-file: .nvmrc
- name: 🚧 Build Release
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
npm ci --ignore-scripts
npm run build && npm run package
git add dist
git commit --allow-empty -m "new release"
PACKAGE_VERSION=$(node -p "require('./package.json').version")
MAIN_PACKAGE_VERSION=$(node -p "require('./package.json').version[0]")
git tag -fa v$PACKAGE_VERSION -m "Update tag"
git push origin v$PACKAGE_VERSION --force
git tag -fa v$MAIN_PACKAGE_VERSION -m "Update tag"
git push origin v$MAIN_PACKAGE_VERSION --force
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
npm ci --ignore-scripts
npm run build && npm run package
git add dist
git commit --allow-empty -m "new release"
PACKAGE_VERSION=$(node -p "require('./package.json').version")
MAIN_PACKAGE_VERSION=$(node -p "require('./package.json').version[0]")
git tag -fa v$PACKAGE_VERSION -m "Update tag"
git push origin v$PACKAGE_VERSION --force
git tag -fa v$MAIN_PACKAGE_VERSION -m "Update tag"
git push origin v$MAIN_PACKAGE_VERSION --force
- name: ⚙️ Increment Version
run: |
npm version patch --force
git push --force
npm version patch --force
git push --force
Loading