Skip to content

Commit 00719b4

Browse files
committed
try
1 parent fa7dcc5 commit 00719b4

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -210,27 +210,19 @@ jobs:
210210
path: .repo
211211
- name: Install Dependencies
212212
run: cd .repo && yarn install --check-files --frozen-lockfile
213-
- name: Copy version file
214-
run: |
215-
mkdir -p .repo/dist
216-
cp ./dist/version.txt .repo/
217213
- name: Create dotnet artifact
218214
run: |
219-
VERSION=$(cat ./dist/version.txt)
220-
echo "Building package with version: $VERSION"
221-
cd .repo
222-
npx projen compile
223-
npx projen package:dotnet
215+
run: cd .repo && npx projen bump && npx projen compile && npx projen package:dotnet && npx projen unbump
224216
- name: Debug .repo/dist/dotnet contents
225217
run: |
226218
echo "Contents of .repo/dist/dotnet:"
227219
ls -la .repo/dist/dotnet/
228220
- name: Collect dotnet Artifact
229-
run: mv .repo/dist/dotnet ./dist/dotnet
221+
run: mv .repo/dist/dotnet dist/dotnet
230222
- name: Debug final dist/dotnet contents
231223
run: |
232224
echo "Contents of dist/dotnet:"
233-
ls -la ./dist/dotnet/
225+
ls -la dist/dotnet/
234226
- name: Extract Version
235227
id: extract-version
236228
run: |

0 commit comments

Comments
 (0)