brotherton-erpnext/.github/workflows/release.yml

31 lines
906 B
YAML
Raw Normal View History

2022-04-18 05:08:22 +00:00
name: Generate Semantic Release
on:
push:
branches:
2022-04-18 05:18:31 +00:00
- version-13
2022-04-18 05:08:22 +00:00
jobs:
release:
name: Release
2022-04-18 10:47:36 +00:00
runs-on: ubuntu-latest
2022-04-18 05:08:22 +00:00
steps:
- name: Checkout Entire Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false
2022-04-18 05:08:22 +00:00
- name: Setup Node.js v14
uses: actions/setup-node@v2
with:
node-version: 14
- name: Setup dependencies
run: |
npm install @semantic-release/git @semantic-release/exec --no-save
- name: Create Release
env:
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
GIT_AUTHOR_NAME: "Frappe PR Bot"
GIT_AUTHOR_EMAIL: "developers@frappe.io"
GIT_COMMITTER_NAME: "Frappe PR Bot"
GIT_COMMITTER_EMAIL: "developers@frappe.io"
2022-04-18 05:08:22 +00:00
run: npx semantic-release