Skip to content

Commit 0a858a1

Browse files
committed
ci: add tag workflows config.
1 parent b666273 commit 0a858a1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/tag.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
on:
3+
push:
4+
# branches:
5+
# - main
6+
tags:
7+
- v*
8+
9+
jobs:
10+
tags:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Extract version from tag
18+
id: extract_version
19+
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
20+
21+
- name: Create Tag
22+
id: create_tag
23+
uses: jaywcjlove/create-tag-action@main
24+
with:
25+
version: ${{ env.VERSION }}
26+
release: true
27+
body: |
28+
<a target="_blank" href="https://apps.apple.com/app/devtutor/6471227008" title="DevTutor for SwiftUI AppStore">
29+
<img alt="Quick RSS AppStore" src="https://tools.applemediaservices.com/api/badges/download-on-the-mac-app-store/black/en-us?size=250x83&amp;releaseDate=1705968000" height="51">
30+
</a>

0 commit comments

Comments
 (0)