1
0
Fork 0
mirror of synced 2024-07-07 07:15:43 +12:00
budibase/.github/workflows/tag-prerelease.yml

43 lines
992 B
YAML
Raw Normal View History

2023-04-20 23:24:23 +12:00
name: Tag prerelease
concurrency:
group: tag-prerelease
cancel-in-progress: false
2023-04-20 23:24:23 +12:00
on:
push:
branches:
- develop
paths:
- ".aws/**"
- ".github/**"
- "charts/**"
- "packages/**"
- "scripts/**"
- "package.json"
- "yarn.lock"
workflow_dispatch:
jobs:
tag-prerelease:
runs-on: ubuntu-latest
steps:
2023-04-22 03:48:01 +12:00
- name: Fail if branch is not develop
if: github.ref != 'refs/heads/develop'
run: |
echo "Ref is not develop, you must run this job from develop."
exit 1
2023-04-20 23:24:23 +12:00
- uses: actions/checkout@v2
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
2023-06-26 22:55:44 +12:00
- run: cd scripts && yarn
2023-04-20 23:24:23 +12:00
- name: Tag prerelease
run: |
2023-06-26 22:55:44 +12:00
cd scripts
2023-04-20 23:27:06 +12:00
# setup the username and email.
2023-04-21 22:36:07 +12:00
git config --global user.name "Budibase Staging Release Bot"
git config --global user.email "<>"
2023-06-26 22:55:44 +12:00
./versionCommit.sh prerelease