File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+
3+ jobs :
4+ cut-release :
5+ docker :
6+ - image : cimg/python:3.10
7+ steps :
8+ - checkout
9+ - run :
10+ name : " Checkout submodules"
11+ command : |
12+ git submodule sync
13+ git submodule update --init
14+ - run :
15+ name : " Extract version"
16+ command : echo "export VERSION=${CIRCLE_TAG#offscreen-}" >> $BASH_ENV
17+ - run :
18+ name : " Create VERSION file"
19+ command : |
20+ source $BASH_ENV
21+ echo $VERSION > VERSION
22+ - run :
23+ name : " Install git-archive-all"
24+ command : pip install git-archive-all
25+ - run :
26+ name : " Create source tarball"
27+ command : |
28+ source $BASH_ENV
29+ git-archive-all --force-submodules --prefix=offscreen-${VERSION}/ offscreen-${VERSION}.tar.gz
30+ - store_artifacts :
31+ path : offscreen-${VERSION}.tar.gz
32+
33+ workflows :
34+ version : 2
35+ release :
36+ jobs :
37+ - cut-release :
38+ filters :
39+ tags :
40+ only : /^offscreen-.*/
41+ branches :
42+ ignore : /.*/
You can’t perform that action at this time.
0 commit comments