Skip to content

Commit

Permalink
CI: name assets with version number
Browse files Browse the repository at this point in the history
  • Loading branch information
pmq20 committed Sep 26, 2020
1 parent 8bcec13 commit 263b4b8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linux.yml
Expand Up @@ -48,13 +48,13 @@ jobs:
run: |
cd src
bundle install
- name: "[Enclose.IO] Rake"
- name: "[Enclose.IO] MAIN"
run: |
export PATH="$(pwd):$PATH"
cd src
which rubyc
rubyc --version
bundle exec rake
rubyc bin/nodec -o pre-release-nodec-v140800.121803-linux-x64
- name: "[Enclose.IO] Create Linux Release"
if: ${{ github.ref == 'refs/heads/master' && success() }}
id: create_linux_release
Expand All @@ -74,6 +74,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_linux_release.outputs.upload_url }}
asset_path: src/nodec
asset_name: nodec
asset_path: src/pre-release-nodec-v140800.121803-linux-x64
asset_name: pre-release-nodec-v140800.121803-linux-x64
asset_content_type: application/octet-stream
8 changes: 4 additions & 4 deletions .github/workflows/macos.yml
Expand Up @@ -48,13 +48,13 @@ jobs:
run: |
cd src
bundle install
- name: "[Enclose.IO] Rake"
- name: "[Enclose.IO] MAIN"
run: |
export PATH="$(pwd):$PATH"
cd src
which rubyc
rubyc --version
bundle exec rake
rubyc bin/nodec -o pre-release-nodec-v140800.121803-darwin-x64
- name: "[Enclose.IO] Create macOS Release"
if: ${{ github.ref == 'refs/heads/master' && success() }}
id: create_macos_release
Expand All @@ -74,6 +74,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_macos_release.outputs.upload_url }}
asset_path: src/nodec
asset_name: nodec
asset_path: src/pre-release-nodec-v140800.121803-darwin-x64
asset_name: pre-release-nodec-v140800.121803-darwin-x64
asset_content_type: application/octet-stream
10 changes: 4 additions & 6 deletions .github/workflows/windows.yml
Expand Up @@ -13,8 +13,6 @@ jobs:
vs: 2019
fail-fast: false
runs-on: ${{ matrix.os }}
env:
ENCLOSE_IO_RUBYC_ADDTIONAL_ARGS: --tmpdir=C:\rubyc_tmp
steps:
- uses: ilammy/setup-nasm@v1
- uses: actions/checkout@v2
Expand Down Expand Up @@ -63,15 +61,15 @@ jobs:
cd src
bundle install
shell: cmd
- name: "[Enclose.IO] Rake"
- name: "[Enclose.IO] MAIN"
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
mkdir C:\rubyc_tmp
set PATH=%CD%;%PATH%
cd src
where rubyc
rubyc --version
bundle exec rake
rubyc bin/nodec -o pre-release-nodec-v140800.121803-x64.exe --tmpdir=C:\rubyc_tmp
shell: cmd
- name: "[Enclose.IO] Create Windows Release"
if: ${{ github.ref == 'refs/heads/master' && success() }}
Expand All @@ -92,6 +90,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_windows_release.outputs.upload_url }}
asset_path: src/nodec.exe
asset_name: nodec.exe
asset_path: src/pre-release-nodec-v140800.121803-x64.exe
asset_name: pre-release-nodec-v140800.121803-x64.exe
asset_content_type: application/octet-stream
2 changes: 1 addition & 1 deletion lib/compiler/constants.rb
Expand Up @@ -7,7 +7,7 @@

class Compiler
# The version is prefixed by the supported versions of the Current & LTS Node.js
VERSION = '140800.121803.dev'
VERSION = '140800.121803'
PRJ_ROOT = File.expand_path('../..', __dir__)
MEMFS = '/__enclose_io_memfs__'
end

0 comments on commit 263b4b8

Please sign in to comment.