Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/release-from-nightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,18 @@ jobs:
cat package.json
npm publish --access=public

- name: Publish win32_x64 subpackage
run: |
cd subpackages/win32_x64/
wget https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-windows_x86_64-latest.tar.gz
tar xzf *.tar.gz
rm *.tar.gz
mv roc_nightly*/roc .
sed -i "s/\(\"version\": \"[^\"]*\)\"/\1$NIGHTLY_VERSION\"/" package.json
wc -c roc
cat package.json
npm publish --access=public

# Now that all the subpackages have been published, publish this one.
- name: Publish roc-npm
run: |
Expand Down
3 changes: 3 additions & 0 deletions subpackages/win32_x64/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Roc installer asset

This is the Windows 64-bit X86 binary for [Roc](https://roc-lang.org).
12 changes: 12 additions & 0 deletions subpackages/win32_x64/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "@roc-installer-assets/win32_x64",
"version": "0.0.3",
"description": "The Windows 64-bit X86 binary for Roc.",
"repository": "https://github.com/vendrinc/roc-npm",
"author": "Richard Feldman",
"license": "UPL-1.0",
"preferUnplugged": true,
"files": ["roc"],
"os": ["win32"],
"cpu": ["x64"]
}