Skip to content

Commit a7db97b

Browse files
committed
Add release automation workflow with issue template
1 parent 239ba84 commit a7db97b

6 files changed

Lines changed: 102 additions & 2 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "[BUG]"
5+
labels: bug
6+
assignees: ""
7+
---
8+
9+
**Describe the bug**
10+
A clear and concise description of what the bug is.
11+
12+
**Expected behavior**
13+
A clear and concise description of what you expected to happen.
14+
15+
**Screenshots**
16+
Add screenshots to help explain your problem.
17+
18+
**Additional context**
19+
Add any other context about the problem here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "[FEAT]"
5+
labels: enhancement
6+
assignees: ""
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the solution you'd like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe alternatives you've considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Additional context**
19+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/inquiry.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Questions
3+
about: Please state here about concerns regarding the project
4+
title: "[CONCERN]"
5+
labels: question
6+
assignees: ""
7+
---
8+
9+
**Describe the concern you are having**
10+
A clear and concise description of what your concern is.
11+
12+
**Screenshot**
13+
Provide a screenshot if needed.
14+
15+
**Additional context**
16+
Add any other context or screenshots about the feature request here.

.github/workflows/release.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*" # Triggers when you push a tag like v1.0.1
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
14+
steps:
15+
- name: Checkout Code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 20
22+
cache: "npm"
23+
24+
- name: Install Dependencies
25+
run: npm install
26+
27+
- name: Build Web
28+
run: npx expo export --platform web
29+
30+
- name: Package Web Build
31+
run: zip -r web-build.zip dist
32+
33+
- name: GH Release
34+
uses: softprops/action-gh-release@v3.0.0
35+
if: startsWith(github.ref, 'refs/tags/')
36+
with:
37+
name: Release ${{ github.ref_name }}
38+
body: |
39+
## Changes in this version
40+
- Manual release based on tag ${{ github.ref_name }}
41+
- (Add manual notes here or use generate_release_notes)
42+
draft: false
43+
prerelease: false
44+
generate_release_notes: true
45+
files: |
46+
web-build.zip

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"expo": {
33
"name": "Ticku",
44
"slug": "Ticku",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"orientation": "portrait",
77
"icon": "./assets/images/icon.png",
88
"scheme": "ticku",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ticku",
33
"main": "expo-router/entry",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"scripts": {
66
"start": "expo start",
77
"reset-project": "node ./scripts/reset-project.js",

0 commit comments

Comments
 (0)