diff --git a/.cirrus.yml b/.cirrus.yml index 474ae30..17fc482 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,6 +1,6 @@ env: REPO: you54f/traveling-ruby - PKG_DATE: 20240116 + PKG_DATE: 20240201 NEXT_TAG: rel-$PKG_DATE GITHUB_TOKEN: ENCRYPTED[7f3663f35400d0e1f8e0fec456af6b75a07b0fd2d0632fe1697b8fb73af5e78245144216288d88d2daa681ccd159e07d] @@ -89,27 +89,25 @@ download_task: RUBY_VERSIONS_LATEST_MATRIX: &RUBY_VERSIONS_LATEST_MATRIX RUBY_VERSIONS: 3.3.0 - RUBY_VERSIONS: 3.2.2 + RUBY_VERSIONS: 3.2.3 RUBY_VERSIONS: 3.1.4 RUBY_VERSIONS: 3.0.6 - RUBY_VERSIONS: 2.7.8 - RUBY_VERSIONS: 2.6.10 + # RUBY_VERSIONS: 2.7.8 + # RUBY_VERSIONS: 2.6.10 RUBY_VERSIONS_MATRIX_MACOS: &RUBY_VERSIONS_MATRIX_MACOS RUBY_VERSIONS: 3.3.0 - RUBY_VERSIONS: 3.2.2 + RUBY_VERSIONS: 3.2.3 RUBY_VERSIONS: 3.1.4 RUBY_VERSIONS: 3.0.6 RUBY_VERSIONS_MATRIX_LINUX: &RUBY_VERSIONS_MATRIX_LINUX RUBY_VERSIONS: 3.3.0 - RUBY_VERSIONS: 3.2.2 + RUBY_VERSIONS: 3.2.3 # RUBY_VERSIONS: 2.7.8 - RUBY_VERSIONS: 2.6.10 - RUBY_VERSIONS: 3.1.2 - RUBY_VERSIONS: 3.0.4 - # 3.1.2 and 3.0.4 are not the latest, but the latest that will build - # for those branch on linux + # RUBY_VERSIONS: 2.6.10 + RUBY_VERSIONS: 3.1.4 + RUBY_VERSIONS: 3.0.6 rake_package_and_test: &rake_package_and_test package_script: cd $PLATFORM && rake @@ -275,7 +273,7 @@ set_bundler_version: &set_bundler_version $USE_ROSETTA rbenv global system $USE_ROSETTA sudo gem install bundler -v $(cat BUNDLER_VERSION.txt) $USE_ROSETTA bundler --version - $USE_ROSETTA rbenv global 3.2.2 + $USE_ROSETTA rbenv global 3.2.3 macos_check_task: only_if: $CIRRUS_CHANGE_TITLE =~ 'ci\(mac-check\).*' @@ -518,12 +516,12 @@ run_commands: &run_commands install_homebrew_script: *install_homebrew_script test_homebrew_script: *test_homebrew_script -cli_arm_task: - arm_container: - image: ubuntu:22.04 - <<: *run_commands +# cli_arm_task: +# arm_container: +# image: ubuntu:22.04 +# <<: *run_commands -cli_amd_task: - container: - image: ubuntu:22.04 - <<: *run_commands +# cli_amd_task: +# container: +# image: ubuntu:22.04 +# <<: *run_commands diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 4c6afe4..9c2aba5 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -1,7 +1,7 @@ name: Test cli.sh on: - push: + # push: workflow_dispatch: jobs: @@ -12,7 +12,7 @@ jobs: matrix: os: [macos-latest] shell: [bash, sh] - ruby-version: [3.0.6,3.1.4,3.2.2,3.3.0] + ruby-version: [3.0.6,3.1.4,3.2.3,3.3.0] fail-fast: false defaults: run: @@ -39,7 +39,7 @@ jobs: matrix: os: [ubuntu-latest] shell: [bash, sh] - ruby-version: [2.6.10,3.0.4,3.1.2,3.2.2,3.3.0] + ruby-version: [2.6.10,3.0.4,3.1.2,3.2.3,3.3.0] fail-fast: false defaults: run: @@ -70,7 +70,7 @@ jobs: # strategy: # matrix: # shell: [cmd, powershell, pwsh, bash, sh] - # ruby-version: [2.6.10,3.0.4,3.1.2,3.2.2,3.3.0] + # ruby-version: [2.6.10,3.0.4,3.1.2,3.2.3,3.3.0] # fail-fast: false # defaults: # run: diff --git a/.github/workflows/osx-arm64-selfhosted.yml b/.github/workflows/osx-arm64-selfhosted.yml index 6ff4706..cfb283c 100644 --- a/.github/workflows/osx-arm64-selfhosted.yml +++ b/.github/workflows/osx-arm64-selfhosted.yml @@ -38,5 +38,5 @@ jobs: - name: 'Upload Artifact - osx arm64' uses: actions/upload-artifact@v3 with: - name: traveling-ruby-20240116-3.3.0-osx-arm64.tar.gz - path: osx/traveling-ruby-20240116-3.3.0-osx-arm64.tar.gz \ No newline at end of file + name: traveling-ruby-20240201-3.3.0-osx-arm64.tar.gz + path: osx/traveling-ruby-20240201-3.3.0-osx-arm64.tar.gz \ No newline at end of file diff --git a/.github/workflows/osx-arm64.yml b/.github/workflows/osx-arm64.yml new file mode 100644 index 0000000..b7c30a9 --- /dev/null +++ b/.github/workflows/osx-arm64.yml @@ -0,0 +1,44 @@ +name: MacOS arm64 +on: + push: + branches: [ main, ci, ruby-3.3 ] + paths-ignore: + - '.circleci/**' + - '.cirrus.yml' + pull_request: + branches: [ main, ci, ruby-3.3 ] + paths-ignore: + - '.circleci/**' + - '.cirrus.yml' + +jobs: + make-osx-arm64: + strategy: + matrix: + os: [macos-15] + ruby-version: [3.3.0] + fail-fast: false + runs-on: ${{ matrix.os }} + steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.11.0 + with: + all_but_latest: true + - uses: actions/checkout@v3 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '14.2' + - name: build arm64 + run: | + cd osx + rake stash_conflicting_paths + rake --trace + rake unstash_conflicting_paths + ls + env: + DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer + - name: 'Upload Artifact- osx arm64' + uses: actions/upload-artifact@v3 + with: + name: traveling-ruby-20240201-${{ matrix.ruby-version }}-osx-arm64.tar.gz + path: osx/traveling-ruby-20240201-${{ matrix.ruby-version }}-osx-arm64.tar.gz \ No newline at end of file diff --git a/.github/workflows/osx-x86_64-selfhosted.yml b/.github/workflows/osx-x86_64-selfhosted.yml index 029cd3a..d410c96 100644 --- a/.github/workflows/osx-x86_64-selfhosted.yml +++ b/.github/workflows/osx-x86_64-selfhosted.yml @@ -42,5 +42,5 @@ jobs: - name: 'Upload Artifact- osx x86_64' uses: actions/upload-artifact@v3 with: - name: traveling-ruby-20240116-3.3.0-osx-x86_64.tar.gz - path: osx/traveling-ruby-20240116-3.3.0-osx-x86_64.tar.gz \ No newline at end of file + name: traveling-ruby-20240201-3.3.0-osx-x86_64.tar.gz + path: osx/traveling-ruby-20240201-3.3.0-osx-x86_64.tar.gz \ No newline at end of file diff --git a/.github/workflows/osx-x86_64.yml b/.github/workflows/osx-x86_64.yml index dec0793..b29a39e 100644 --- a/.github/workflows/osx-x86_64.yml +++ b/.github/workflows/osx-x86_64.yml @@ -15,7 +15,8 @@ jobs: make-osx-x86_64: strategy: matrix: - os: [macos-latest] + os: [macos-12] + ruby-version: [3.3.0] fail-fast: false runs-on: ${{ matrix.os }} steps: @@ -29,7 +30,6 @@ jobs: xcode-version: '14.2' - name: build x86 run: | - # gem install bundler:2.3.17 cd osx rake stash_conflicting_paths rake --trace @@ -40,5 +40,5 @@ jobs: - name: 'Upload Artifact- osx x86_64' uses: actions/upload-artifact@v3 with: - name: traveling-ruby-20240116-3.3.0-osx-x86_64.tar.gz - path: osx/traveling-ruby-20240116-3.3.0-osx-x86_64.tar.gz \ No newline at end of file + name: traveling-ruby-20240201-${{ matrix.ruby-version }}-osx-x86_64.tar.gz + path: osx/traveling-ruby-20240201-${{ matrix.ruby-version }}-osx-x86_64.tar.gz \ No newline at end of file diff --git a/.github/workflows/ubuntu-arm64-image-builder.yml b/.github/workflows/ubuntu-arm64-image-builder.yml index b4d3bfa..50c84af 100644 --- a/.github/workflows/ubuntu-arm64-image-builder.yml +++ b/.github/workflows/ubuntu-arm64-image-builder.yml @@ -36,9 +36,9 @@ jobs: docker images env: ARCHITECTURES: "arm64" - - name: build from image - run: | - cd linux - ARCHITECTURES="arm64" rake - env: - ARCHITECTURES: "arm64" \ No newline at end of file + # - name: build from image + # run: | + # cd linux + # ARCHITECTURES="arm64" rake + # env: + # ARCHITECTURES: "arm64" \ No newline at end of file diff --git a/.github/workflows/ubuntu-arm64-selfhosted.yml b/.github/workflows/ubuntu-arm64-selfhosted.yml index 9287e35..08a5c84 100644 --- a/.github/workflows/ubuntu-arm64-selfhosted.yml +++ b/.github/workflows/ubuntu-arm64-selfhosted.yml @@ -49,5 +49,5 @@ jobs: - name: 'Upload Artifact - linux arm64' uses: actions/upload-artifact@v3 with: - name: traveling-ruby-20240116-3.3.0-linux-arm64.tar.gz - path: linux/traveling-ruby-20240116-3.3.0-linux-arm64.tar.gz \ No newline at end of file + name: traveling-ruby-20240201-3.3.0-linux-arm64.tar.gz + path: linux/traveling-ruby-20240201-3.3.0-linux-arm64.tar.gz \ No newline at end of file diff --git a/.github/workflows/ubuntu-arm64.yml b/.github/workflows/ubuntu-arm64.yml index f7e03d6..6648751 100644 --- a/.github/workflows/ubuntu-arm64.yml +++ b/.github/workflows/ubuntu-arm64.yml @@ -16,6 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] + ruby-version: [3.3.0] fail-fast: false runs-on: ${{ matrix.os }} steps: @@ -27,7 +28,7 @@ jobs: - name: "Set up Ruby" uses: ruby/setup-ruby@v1 with: - ruby-version: 3.3.0 + ruby-version: ${{ matrix.ruby-version }} - name: package run: | docker run --privileged --rm tonistiigi/binfmt --install all @@ -39,5 +40,5 @@ jobs: - name: 'Upload Artifact - linux arm64' uses: actions/upload-artifact@v3 with: - name: traveling-ruby-20240116-3.3.0-linux-arm64.tar.gz - path: linux/traveling-ruby-20240116-3.3.0-linux-arm64.tar.gz \ No newline at end of file + name: traveling-ruby-20240201-${{ matrix.ruby-version }}-linux-arm64.tar.gz + path: linux/traveling-ruby-20240201-${{ matrix.ruby-version }}-linux-arm64.tar.gz \ No newline at end of file diff --git a/.github/workflows/ubuntu-x86_64-image-builder.yml b/.github/workflows/ubuntu-x86_64-image-builder.yml index e6c1a9d..a4efef8 100644 --- a/.github/workflows/ubuntu-x86_64-image-builder.yml +++ b/.github/workflows/ubuntu-x86_64-image-builder.yml @@ -35,9 +35,9 @@ jobs: docker images env: ARCHITECTURES: "x86_64" - - name: build from image - run: | - cd linux - ARCHITECTURES="x86_64" rake - env: - ARCHITECTURES: "x86_64" \ No newline at end of file + # - name: build from image + # run: | + # cd linux + # ARCHITECTURES="x86_64" rake + # env: + # ARCHITECTURES: "x86_64" \ No newline at end of file diff --git a/.github/workflows/ubuntu-x86_64.yml b/.github/workflows/ubuntu-x86_64.yml index a62f21d..31e3c5b 100644 --- a/.github/workflows/ubuntu-x86_64.yml +++ b/.github/workflows/ubuntu-x86_64.yml @@ -16,6 +16,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] + ruby-version: [3.3.0] fail-fast: false runs-on: ${{ matrix.os }} steps: @@ -27,7 +28,7 @@ jobs: - name: "Set up Ruby" uses: ruby/setup-ruby@v1 with: - ruby-version: 3.3.0 + ruby-version: ${{ matrix.ruby-version }} - name: package run: | cd linux @@ -38,5 +39,5 @@ jobs: - name: 'Upload Artifact - linux x86_64' uses: actions/upload-artifact@v3 with: - name: traveling-ruby-20240116-3.3.0-linux-x86_64.tar.gz - path: linux/traveling-ruby-20240116-3.3.0-linux-x86_64.tar.gz \ No newline at end of file + name: traveling-ruby-20240201-${{ matrix.ruby-version }}-linux-x86_64.tar.gz + path: linux/traveling-ruby-20240201-${{ matrix.ruby-version }}-linux-x86_64.tar.gz \ No newline at end of file diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 0bc99ff..50a55fe 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -7,7 +7,7 @@ on: env: RB_VERSION: 3.3.0 - PKG_DATE: 20240116 + PKG_DATE: 20240201 jobs: make-windows: @@ -32,8 +32,8 @@ jobs: uname -m cd windows sh -c 'mkdir -p cache output/${{ env.RB_VERSION }}' - sh -c './build-ruby -a ${{ matrix.arch }} -r ${{ env.RB_VERSION }} cache output/${{ env.RB_VERSION }}' - sh -c './package -r traveling-ruby-${{ env.PKG_DATE }}-${{ env.RB_VERSION }}-${{ matrix.arch }}-windows.tar.gz output/${{ env.RB_VERSION }}' + sh -c './build-ruby.sh -a ${{ matrix.arch }} -r ${{ env.RB_VERSION }} cache output/${{ env.RB_VERSION }}' + sh -c './package.sh -r traveling-ruby-${{ env.PKG_DATE }}-${{ env.RB_VERSION }}-${{ matrix.arch }}-windows.tar.gz output/${{ env.RB_VERSION }}' sh -c 'ls' - name: 'Upload Artifact - traveling-ruby-${{ env.PKG_DATE }}-${{ env.RB_VERSION }}-${{ matrix.arch }}-windows' uses: actions/upload-artifact@v3 diff --git a/Dockerfile b/Dockerfile index 2cfb34f..dabd23d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN apt-get update && \ apt-get clean && rm -rf /var/lib/apt/lists ARG TRAVELING_RUBY_VERSION=2.6.10 -ARG TRAVELING_RUBY_PKG_DATE=20240116 +ARG TRAVELING_RUBY_PKG_DATE=20240201 ARG TRAVELING_RUBY_GH_SOURCE=YOU54F/traveling-ruby ENV PATH="/home/.traveling-ruby/bin:$PATH" diff --git a/INSTALL.md b/INSTALL.md index e01b9b2..40ff920 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -14,7 +14,7 @@ curl -fsSL https://gist.githubusercontent.com/YOU54F/2e47eb0b653b6810dd6a0be9fc6820ea/raw/install.sh | sh -s -- --help Usage: sh [-v ] [-d ] [--set-path] [--clean-install] [--ci] - -v Ruby version to install (default: 3.2.2) + -v Ruby version to install (default: 3.2.3) -d Release date of the traveling ruby package to download (default: latest) --set-path Add the traveling ruby bin path to the PATH environment variable (default: false) --clean-install Remove any existing traveling ruby installation before installing (default: false) diff --git a/README.md b/README.md index ead8d7c..9098010 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,13 @@ Traveling Ruby is a project which supplies self-contained, "portable" Ruby binar | OS | Ruby | Architecture | Supported | | -------| ------- | ------------ | --------- | -| OSX | 3.2.2 | x86_64 | ✅ | -| OSX | 3.2.2 | arm64| ✅ | -| Linux | 3.2.2 | x86_64 | ✅ | -| Linux | 3.2.2 | arm64 | ✅ | -| Windows| 3.2.2 | x86_64 | ✅ | -| Windows| 3.2.2 | x86 | ✅ | -| Windows| 3.2.2 | arm64 | 🚧 | +| OSX | 3.2.3 | x86_64 | ✅ | +| OSX | 3.2.3 | arm64| ✅ | +| Linux | 3.2.3 | x86_64 | ✅ | +| Linux | 3.2.3 | arm64 | ✅ | +| Windows| 3.2.3 | x86_64 | ✅ | +| Windows| 3.2.3 | x86 | ✅ | +| Windows| 3.2.3 | arm64 | 🚧 | 🚧 - Works under emulation with x86 or x64 packages on Windows on Arm. @@ -106,7 +106,7 @@ Windows support: * Traveling Ruby supports creating packages *for* Windows, but it does not yet support creating packages *on* Windows. That is, the Traveling Ruby tutorials and the documentation do not work when you are a Ruby developer on Windows. To create Windows packages, you must use macOS or Linux. This is because in our documentation we make heavy use of standard Unix tools. Tools which are not available on Windows. In the future we may replace the use of such tools with Ruby tools so that the documentation works on Windows too. - * Traveling Ruby currently supports Ruby 3.2.2. + * Traveling Ruby currently supports Ruby 3.2.3. * Native extensions are not yet supported. ## Building binaries diff --git a/RUBY_VERSIONS.txt b/RUBY_VERSIONS.txt index bd5bb00..2157924 100644 --- a/RUBY_VERSIONS.txt +++ b/RUBY_VERSIONS.txt @@ -1,5 +1,5 @@ 3.3.0 -3.2.2 +3.2.3 3.1.4 3.0.6 2.7.8 diff --git a/RUBY_VERSIONS_LATEST.txt b/RUBY_VERSIONS_LATEST.txt index bd5bb00..2157924 100644 --- a/RUBY_VERSIONS_LATEST.txt +++ b/RUBY_VERSIONS_LATEST.txt @@ -1,5 +1,5 @@ 3.3.0 -3.2.2 +3.2.3 3.1.4 3.0.6 2.7.8 diff --git a/RUBY_VERSIONS_LINUX.txt b/RUBY_VERSIONS_LINUX.txt index 0fd18f4..efe307c 100644 --- a/RUBY_VERSIONS_LINUX.txt +++ b/RUBY_VERSIONS_LINUX.txt @@ -1,5 +1,5 @@ 3.3.0 -3.2.2 +3.2.3 3.1.2 3.0.4 2.6.10 \ No newline at end of file diff --git a/RUBY_VERSIONS_MACOS_ARM64.txt b/RUBY_VERSIONS_MACOS_ARM64.txt index 80f1095..0d0df4b 100644 --- a/RUBY_VERSIONS_MACOS_ARM64.txt +++ b/RUBY_VERSIONS_MACOS_ARM64.txt @@ -1,4 +1,4 @@ 3.3.0 -3.2.2 +3.2.3 3.1.4 3.0.6 \ No newline at end of file diff --git a/RUBY_VERSIONS_MACOS_X86_64.txt b/RUBY_VERSIONS_MACOS_X86_64.txt index f4c95a4..de290d3 100644 --- a/RUBY_VERSIONS_MACOS_X86_64.txt +++ b/RUBY_VERSIONS_MACOS_X86_64.txt @@ -1,5 +1,5 @@ 3.3.0 -3.2.2 +3.2.3 3.1.2 3.0.6 3.0.4 \ No newline at end of file diff --git a/RUBY_VERSIONS_WINDOWS.txt b/RUBY_VERSIONS_WINDOWS.txt index 02c92fe..487ccb5 100644 --- a/RUBY_VERSIONS_WINDOWS.txt +++ b/RUBY_VERSIONS_WINDOWS.txt @@ -1,3 +1,3 @@ -3.2.2 +3.2.3 3.1.4 3.0.6 \ No newline at end of file diff --git a/TODO.md b/TODO.md index 23d5a76..46f8d0a 100644 --- a/TODO.md +++ b/TODO.md @@ -5,7 +5,7 @@ Just some WIP notes to keep some track of testing progress ### Latest Ruby Versions - `3.3.0` -- `3.2.2` +- `3.2.3` - `3.1.4` - `3.1.2` - `3.0.6` @@ -68,13 +68,13 @@ Just some WIP notes to keep some track of testing progress Currently `sqlite` and `nokogiri` provide native extensions in the 2nd format, where our guides/installers consider the first -- output/3.2.2-arm64/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0-static/bcrypt-3.1.18/bcrypt_ext.so +- output/3.2.3-arm64/lib/ruby/gems/3.2.0/extensions/aarch64-linux/3.2.0-static/bcrypt-3.1.18/bcrypt_ext.so We delete the version numbers, other than the version of ruby we are packaging, but we dont package up the extension -- output/3.2.2-arm64/lib/ruby/gems/3.2.0/gems/sqlite3-1.6.3-aarch64-linux/lib/sqlite3/3.2/sqlite3_native.so -- output/3.2.2-arm64/lib/ruby/gems/3.2.0/gems/sqlite3-1.6.3-aarch64-linux/lib/sqlite3/3.1/sqlite3_native.so -- output/3.2.2-arm64/lib/ruby/gems/3.2.0/gems/sqlite3-1.6.3-aarch64-linux/lib/sqlite3/3.0/sqlite3_native.so -- output/3.2.2-arm64/lib/ruby/gems/3.2.0/gems/sqlite3-1.6.3-aarch64-linux/lib/sqlite3/2.7/sqlite3_native.so +- output/3.2.3-arm64/lib/ruby/gems/3.2.0/gems/sqlite3-1.6.3-aarch64-linux/lib/sqlite3/3.2/sqlite3_native.so +- output/3.2.3-arm64/lib/ruby/gems/3.2.0/gems/sqlite3-1.6.3-aarch64-linux/lib/sqlite3/3.1/sqlite3_native.so +- output/3.2.3-arm64/lib/ruby/gems/3.2.0/gems/sqlite3-1.6.3-aarch64-linux/lib/sqlite3/3.0/sqlite3_native.so +- output/3.2.3-arm64/lib/ruby/gems/3.2.0/gems/sqlite3-1.6.3-aarch64-linux/lib/sqlite3/2.7/sqlite3_native.so should we create a full fat bundler, that has all the gem extensions pre-installed? \ No newline at end of file diff --git a/VERSION.txt b/VERSION.txt index d233ae6..5fca17f 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -20240116 \ No newline at end of file +20240201 \ No newline at end of file diff --git a/action.yml b/action.yml index fc65689..af1cd54 100644 --- a/action.yml +++ b/action.yml @@ -4,11 +4,11 @@ inputs: ruby-version: description: 'Version of Traveling Ruby to install' required: false - default: '3.2.2' + default: '3.2.3' release: description: 'Date of the package to install' required: false - default: '20240116' + default: '20240201' gems: description: 'List of gems and optionally versions, white space seperated (e.g. "nokogiri-1.10.10 rails")' required: false diff --git a/cli.sh b/cli.sh index b1ef926..8e84644 100755 --- a/cli.sh +++ b/cli.sh @@ -9,14 +9,14 @@ set -e # Options # TRAVELING_RUBY_VERSION - set ruby version eg TRAVELING_RUBY_VERSION=2.7.3 -# TRAVELING_RUBY_RELEASE_TAG - set release tag eg TRAVELING_RUBY_RELEASE_TAG=rel20240116 +# TRAVELING_RUBY_RELEASE_TAG - set release tag eg TRAVELING_RUBY_RELEASE_TAG=rel20240201 # TRAVELING_RUBY_INSTALL_PATH - set install path eg TRAVELING_RUBY_INSTALL_PATH=$HOME/.travelling-ruby # TRAVELING_RUBY_CLEAN_INSTALL - set to true to remove existing install eg TRAVELING_RUBY_CLEAN_INSTALL=true # Usage: (install fixed version of a release) - -# $ curl -fsSL https://raw.githubusercontent.com/you54f/traveling-ruby/main/install.sh | TRAVELING_RUBY_RELEASE_TAG=rel-20240116 sh +# $ curl -fsSL https://raw.githubusercontent.com/you54f/traveling-ruby/main/install.sh | TRAVELING_RUBY_RELEASE_TAG=rel-20240201 sh # or -# $ wget -q https://raw.githubusercontent.com/you54f/traveling-ruby/main/install.sh -O- | TRAVELING_RUBY_RELEASE_TAG=rel-20240116 sh +# $ wget -q https://raw.githubusercontent.com/you54f/traveling-ruby/main/install.sh -O- | TRAVELING_RUBY_RELEASE_TAG=rel-20240201 sh # Usage: (install fixed version of ruby) - # $ curl -fsSL https://raw.githubusercontent.com/you54f/traveling-ruby/main/install.sh | TRAVELING_RUBY_VERSION=2.6.10 sh @@ -25,12 +25,12 @@ set -e PROJECT_NAME='traveling-ruby' TRAVELING_RUBY_GH_SOURCE=YOU54F/${PROJECT_NAME} -TRAVELING_RUBY_VERSION=${TRAVELING_RUBY_VERSION:-3.2.2} +TRAVELING_RUBY_VERSION=${TRAVELING_RUBY_VERSION:-3.2.3} usage() { echo "Usage: $0 [-v ] [-d ] [--set-path] [--clean-install] [--ci]" echo "" - echo " -v Ruby version to install (default: 3.2.2)" + echo " -v Ruby version to install (default: 3.2.3)" echo " -d Release date of the traveling ruby package to download (default: latest)" echo " --set-path Add the traveling ruby bin path to the PATH environment variable (default: false)" echo " --clean-install Remove any existing traveling ruby installation before installing (default: false)" @@ -71,7 +71,7 @@ while getopts "hg:v:d:-:" opt; do done if [ -z "$TRAVELING_RUBY_VERSION" ]; then - TRAVELING_RUBY_VERSION=3.2.2 + TRAVELING_RUBY_VERSION=3.2.3 fi if [ -z "$TRAVELING_RUBY_PKG_DATE" ]; then diff --git a/linux/test-gems-docker.sh b/linux/test-gems-docker.sh index f7a9a6b..f177a56 100755 --- a/linux/test-gems-docker.sh +++ b/linux/test-gems-docker.sh @@ -6,7 +6,7 @@ SELFDIR=`cd "$SELFDIR" && pwd` if [ -z "$1" ]; then echo "Usage: $0 output/- " - echo "example: $0 3.2.2-arm64" + echo "example: $0 3.2.3-arm64" echo "image: node:20-slim" echo "image is optional|default: node:20-slim" exit 1 diff --git a/osx/build-ruby.sh b/osx/build-ruby.sh index 3d876d4..2c6b8f8 100755 --- a/osx/build-ruby.sh +++ b/osx/build-ruby.sh @@ -420,7 +420,7 @@ run rm -rf lib/{libruby*static.a,pkgconfig} # NOTE:- Updated the above to consider the below library, otherwise # the size of our bundle doubles # find output -type f -exec du -ah {} + | sort -rh | head -n 10 -# 21M output/3.2.2-arm64/lib/libruby.3.2-static.a +# 21M output/3.2.3-arm64/lib/libruby.3.2-static.a # run rm -rf lib/ruby/$RUBY_COMPAT_VERSION/rdoc/generator/ run rm -rf lib/ruby/gems/$RUBY_COMPAT_VERSION/cache/* diff --git a/scripts/build-docker-images.sh b/scripts/build-docker-images.sh index 5493d79..f0250e9 100755 --- a/scripts/build-docker-images.sh +++ b/scripts/build-docker-images.sh @@ -4,7 +4,7 @@ # Define the default values for the arguments DEFAULT_TRAVELING_RUBY_VERSION=2.6.10 -DEFAULT_TRAVELING_RUBY_PKG_DATE=20240116 +DEFAULT_TRAVELING_RUBY_PKG_DATE=20240201 DEFAULT_TRAVELING_RUBY_GH_SOURCE=YOU54F/traveling-ruby DOCKER_IMAGE_ORG_AND_NAME="you54f/traveling-ruby" @@ -73,7 +73,7 @@ usage() { echo "Building Docker image for Traveling Ruby version ${TRAVELING_RUBY_VERSION}..." # Define the latest major and minor versions - LATEST_MAJOR_MINOR=("2.7.8" "3.2.2") + LATEST_MAJOR_MINOR=("2.7.8" "3.2.3") # Set the values for the arguments TRAVELING_RUBY_VERSION=${TRAVELING_RUBY_VERSION:-$DEFAULT_TRAVELING_RUBY_VERSION} TRAVELING_RUBY_PKG_DATE=${TRAVELING_RUBY_PKG_DATE:-$DEFAULT_TRAVELING_RUBY_PKG_DATE} diff --git a/scripts/build.sh b/scripts/build.sh index d9077a0..36cf565 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -2,7 +2,7 @@ export RB_VERSION=${TRAVELING_RUBY_RB_VERSION:-3.3.0} export ARCHITECTURES=${TRAVELING_RUBY_ARCHITECTURE:-arm64} -export PKG_DATE=${TRAVELING_RUBY_PKG_DATE:-20240116} +export PKG_DATE=${TRAVELING_RUBY_PKG_DATE:-20240201} export PLATFORM=${TRAVELING_RUBY_PLATFORM:-linux} rm VERSION.txt echo $TRAVELING_RUBY_PKG_DATE > VERSION.txt