forked from obytes/react-native-template-obytes
-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (28 loc) · 956 Bytes
/
new-github-release.yml
File metadata and controls
34 lines (28 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 🔗 Links:
# Source file: https://github.com/obytes/react-native-template-obytes/blob/master/.github/workflows/new-github-release.yml
# Starter releasing process: https://starter.obytes.com/ci-cd/app-releasing-process/
# ✍️ Description:
# This workflow will be triggered automatically after the new app version workflow has been executed successfully.
# It will create a new GitHub release with the new app version and the release notes.
# 🚨 GITHUB SECRETS REQUIRED: None
name: New GitHub Release
on:
push:
tags:
- '*'
jobs:
release:
name: New GitHub Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: 📦 Checkout project repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🏃♂️Create A Draft Github Release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
draft: false