blob: d47bc806186db45c61ef85e2c4d5d59e03b3b901 (
plain)
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
|
# name: Release Drafter
# on:
# push:
# # branches to consider in the event; optional, defaults to all
# branches:
# - master
# jobs:
# update_release_draft:
# name: Draft release
# runs-on: ubuntu-latest
# steps:
# # Drafts your next Release notes as Pull Requests are merged into "master"
# - uses: release-drafter/release-drafter@v5
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# build:
# name: Publish zip file
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Build
# run: |
# zip -r castanet-${{ steps.update_release_draft.outputs.tag }}.zip . -x \*.git\* \*exampleSite\* appveyor.yml \*.circleci\* \*tests\* \*bin\* \*build\* \*release\* config.codekit3 \*node_modules\* gulpfile.js netlify.toml package.json STYLE.md *\node_modules\* \*test\*
# - name: Upload zip file to release
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: castanet-${{ steps.update_release_draft.outputs.tag }}.zip
# tag: ${{ steps.update_release_draft.outputs.tag }}
# overwrite: true
|