Skip to content

Commit e085254

Browse files
committed
pretend-release
1 parent 5a86129 commit e085254

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ concurrency:
1818
env:
1919
# When getting Rust dependencies, retry on network error:
2020
CARGO_NET_RETRY: 10
21+
PRETEND_TAG: release-0.0.0
2122

2223
jobs:
2324
build_icp:
@@ -56,7 +57,7 @@ jobs:
5657
echo "RUSTFLAGS=--remap-path-prefix=${GITHUB_WORKSPACE}=/builds/dfinity" >> $GITHUB_ENV
5758
5859
- name: Set names (tag only)
59-
if: github.ref_type == 'tag'
60+
# if: github.ref_type == 'tag'
6061
run: |
6162
echo "TARBALL_1_FILENAME=icp-cli-$GITHUB_REF_NAME-${{ matrix.name }}.tar.gz" >> $GITHUB_ENV
6263
echo "SHA256_1_FILENAME=icp-cli-$GITHUB_REF_NAME-${{ matrix.name }}.tar.gz.sha256" >> $GITHUB_ENV
@@ -87,7 +88,7 @@ jobs:
8788
if: contains(matrix.os, 'ubuntu')
8889

8990
- name: Create tarball of binaries and sha256 of tarball
90-
if: github.ref_type == 'tag'
91+
# if: github.ref_type == 'tag'
9192
run: |
9293
mkdir icp-${{ matrix.target }}
9394
cp ${{ matrix.binary_path }}/icp icp-${{ matrix.target }}
@@ -101,7 +102,7 @@ jobs:
101102
shasum -c ${{ env.SHA256_1_FILENAME }}
102103
103104
- name: Upload Artifacts
104-
if: github.ref_type == 'tag'
105+
# if: github.ref_type == 'tag'
105106
uses: actions/upload-artifact@v4
106107
with:
107108
name: icp-artifacts-${{ hashFiles('rust-toolchain.toml') }}-${{ matrix.name }}
@@ -123,7 +124,7 @@ jobs:
123124

124125
publish:
125126
runs-on: ubuntu-latest
126-
if: github.ref_type == 'tag'
127+
# if: github.ref_type == 'tag'
127128
needs: build_icp
128129
strategy:
129130
fail-fast: false
@@ -146,6 +147,6 @@ jobs:
146147
repo_token: ${{ secrets.GITHUB_TOKEN }}
147148
file: icp-*.tar.*
148149
file_glob: true
149-
tag: ${{ env.VERSION }}
150+
tag: ${{ env.PRETEND_TAG }}
150151
prerelease: true
151152
make_latest: false

0 commit comments

Comments
 (0)