Skip to content

Commit d996e19

Browse files
committed
Rename VERSION to VERSION.txt
1 parent ef4964e commit d996e19

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
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
@@ -27,7 +27,7 @@ jobs:
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

.github/workflows/cut_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
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
@@ -32,7 +32,7 @@ jobs:
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

0 commit comments

Comments
 (0)