forked from xDarkicex/openclaw-memory-libravdb
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 847 Bytes
/
github-release.yml
File metadata and controls
36 lines (30 loc) · 847 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
35
36
name: create-github-release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
create-release:
name: create-github-release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
path: openclaw-memory-libravdb
- name: Get version from tag
id: version
run: echo "VERSION=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
repository: xDarkicex/openclaw-memory-libravdb
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
draft: false
prerelease: false