Skip to content

Commit

Permalink
chore: bump version to 0.0.1-110
Browse files Browse the repository at this point in the history
  • Loading branch information
ityuany committed Jul 29, 2024
1 parent cdc3948 commit 207e268
Show file tree
Hide file tree
Showing 19 changed files with 64 additions and 67 deletions.
95 changes: 46 additions & 49 deletions .github/workflows/publish-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ jobs:
- os: macos-13
target: x86_64-apple-darwin
fail-fast: false

runs-on: ${{ matrix.os }}

steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand Down Expand Up @@ -124,59 +122,58 @@ jobs:
with:
name: ${{ matrix.target }}.sha256
path: ${{ matrix.target }}.sha256
e2e-testing:
name: E2E testing
needs: build
strategy:
matrix:
include:
# Linux targets
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
# Windows targets
- os: windows-latest
target: x86_64-pc-windows-msvc
- os: windows-latest
target: i686-pc-windows-msvc
# macOS targets
- os: macos-14
target: aarch64-apple-darwin
- os: macos-13
target: x86_64-apple-darwin
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true
target: ${{ matrix.target }}

e2e-testing:
name: E2E testing
needs: build
strategy:
matrix:
include:
# Linux targets
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
# Windows targets
- os: windows-latest
target: x86_64-pc-windows-msvc
- os: windows-latest
target: i686-pc-windows-msvc
# macOS targets
- os: macos-14
target: aarch64-apple-darwin
- os: macos-13
target: x86_64-apple-darwin
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true
target: ${{ matrix.target }}

- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: ${{ matrix.target }}
path: .
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: ${{ matrix.target }}
path: .

- name: Tar downloaded files
shell: bash
run: |
tar -xvf ${{ matrix.target }}.tar.gz -C e2e/tests
cd e2e/tests
ls -R
- name: e2e tests
run: |
cargo test --package e2e -- --nocapture
- name: Tar downloaded files
shell: bash
run: |
tar -xvf ${{ matrix.target }}.tar.gz -C e2e/tests
cd e2e/tests
ls -R
- name: e2e tests
run: |
cargo test --package e2e -- --nocapture
publish:
name: Publish To Github Release
runs-on: ubuntu-latest
needs: build-and-test
needs: e2e-testing
steps:
- uses: actions/download-artifact@v4
- name: Display structure of downloaded files
Expand All @@ -196,7 +193,7 @@ jobs:
contents: write
name: Generate And Upload Homebrew snm.rb File
runs-on: ubuntu-latest
needs: publish-github-release
needs: publish
steps:
- uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snm"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"
authors = ["ityuany"]

Expand Down
2 changes: 1 addition & 1 deletion crates/cli_node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli_node"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/cli_npm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli_npm"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/cli_npx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli_npx"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/cli_pnpm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli_pnpm"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/cli_pnpx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli_pnpx"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/cli_yarn/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cli_yarn"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/dev-tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dev-tools"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/snm_atom/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snm_atom"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/snm_config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[package]
name = "snm_config"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/snm_download_builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snm_download_builder"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/snm_ni/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snm_ni"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/snm_node_version/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snm_node_version"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/snm_npmrc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snm_npmrc"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/snm_package_json/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snm_package_json"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/snm_shim/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snm_shim"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/snm_tarball/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snm_tarball"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion crates/snm_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snm_utils"
version = "0.0.1-109"
version = "0.0.1-110"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit 207e268

Please sign in to comment.