File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1818 echo "Extracted version: ${CIRCLE_TAG#offscreen-}"
1919 - run :
2020 name : " Create VERSION file"
21- command : echo "$VERSION" > VERSION
21+ command : echo "$VERSION" > VERSION.txt
2222 - run :
2323 name : " Install git-archive-all"
2424 command : pip install git-archive-all
2727 command : |
2828 mkdir -p /tmp/artifacts
2929 git-archive-all --force-submodules --prefix=offscreen-${VERSION}/ /tmp/artifacts/offscreen-${VERSION}.tar
30- tar -rf /tmp/artifacts/offscreen-${VERSION}.tar --transform "s|^|offscreen-${VERSION}/|" VERSION
30+ tar -rf /tmp/artifacts/offscreen-${VERSION}.tar --transform "s|^|offscreen-${VERSION}/|" VERSION.txt
3131 gzip /tmp/artifacts/offscreen-${VERSION}.tar
3232 - persist_to_workspace :
3333 root : /tmp/artifacts
Original file line number Diff line number Diff line change 1919 run : echo "VERSION=${GITHUB_REF#refs/tags/offscreen-}" >> $GITHUB_ENV
2020
2121 - name : Create VERSION file
22- run : echo ${{ env.VERSION }} > VERSION
22+ run : echo ${{ env.VERSION }} > VERSION.txt
2323
2424 - name : Set up Python
2525 uses : actions/setup-python@v6
3232 - name : Create source tarball
3333 run : |
3434 git-archive-all --force-submodules --prefix=offscreen-${{ env.VERSION }}/ offscreen-${{ env.VERSION }}.tar
35- tar -rf offscreen-${{ env.VERSION }}.tar --transform "s|^|offscreen-${{ env.VERSION }}/|" VERSION
35+ tar -rf offscreen-${{ env.VERSION }}.tar --transform "s|^|offscreen-${{ env.VERSION }}/|" VERSION.txt
3636 gzip offscreen-${{ env.VERSION }}.tar
3737
3838 - name : Upload artifact
You can’t perform that action at this time.
0 commit comments