Skip to content

Commit 1e7e356

Browse files
committed
adding release workflow
1 parent 77d610c commit 1e7e356

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release
2+
on:
3+
workflow_dispatch: # manually only for now
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- name: Zip Contents into Folder
11+
run: zip -r release.zip blender/*.blend blender/models/*.obj docs/ scripts/* config.yaml Makefile .gitignore LICENSE README.md
12+
13+
- name: Bump version and Push tag
14+
id: tag_version
15+
uses: mathieudutour/[email protected]
16+
with:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
19+
- name: Create a GitHub Release
20+
uses: actions/create-release@v1
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
with:
24+
tag_name: ${{ steps.tag_version.outputs.new_tag }}
25+
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
26+
body: ${{ steps.tag_version.outputs.changelog }}

0 commit comments

Comments
 (0)