We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e555be commit 506c974Copy full SHA for 506c974
.github/workflows/release.yml
@@ -0,0 +1,30 @@
1
+name: Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "20*"
7
8
+defaults:
9
+ run:
10
+ shell: bash
11
12
+jobs:
13
+ build:
14
+ runs-on: ${{ matrix.os }}
15
+ strategy:
16
+ fail-fast: false
17
+ matrix:
18
+ os: [macos-latest, windows-latest]
19
+ steps:
20
+ - uses: actions/checkout@v2
21
+ - name: configure
22
+ run: cmake .
23
+ - name: build
24
+ run: cmake --build .
25
+ - name: "Upload to Tagged Release"
26
+ uses: softprops/action-gh-release@v1
27
+ with:
28
+ files: "AtomicParsley*"
29
+ env:
30
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
tools/tag-release.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+TAGNAME=$(git "show" "-s" "--format=%cd.%h" "--date=format:%Y%m%d.%H%M%S")
+git tag $TAGNAME
0 commit comments