Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Remove version suffix from package versions #4254

Merged
merged 4 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 2 additions & 0 deletions .github/workflows/release_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
need-protoc: true

- name: Dryrun ${{ matrix.package }}
# Only dryrun test upon core.
if: matrix.package == 'core'
working-directory: ${{ matrix.package }}
run: cargo publish --all-features --dry-run
env:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.idea

**/target
**/vendor
dist/

# env files for backends
Expand Down
2 changes: 2 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
"thw" = "thw"
# Showed up in test.
"hsa" = "hsa"
# Tech words
"WRONLY" = "WRONLY"

[files]
extend-exclude = [
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
* feat(services/hdfs-native): Add capabilities for hdfs-native service by @jihuayu in https://github.com/apache/opendal/pull/4174
* feat(services/sqlite): Add list capability supported for sqlite by @jihuayu in https://github.com/apache/opendal/pull/4180
* feat(services/azblob): support multi write for azblob by @wcy-fdu in https://github.com/apache/opendal/pull/4181
* feat(release): Implement releasing OpenDAL components seperately by @Xuanwo in https://github.com/apache/opendal/pull/4196
* feat(release): Implement releasing OpenDAL components separately by @Xuanwo in https://github.com/apache/opendal/pull/4196
* feat: object store adapter based on v0.9 by @waynexia in https://github.com/apache/opendal/pull/4233
* feat(bin/ofs): implement fuse for linux by @ho-229 in https://github.com/apache/opendal/pull/4179
### Changed
Expand Down Expand Up @@ -66,7 +66,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
* chore(deps): bump actions/setup-dotnet from 3 to 4 by @dependabot in https://github.com/apache/opendal/pull/4115
* chore(deps): bump mongodb from 2.7.1 to 2.8.0 by @dependabot in https://github.com/apache/opendal/pull/4110
* chore(deps): bump quick-xml from 0.30.0 to 0.31.0 by @dependabot in https://github.com/apache/opendal/pull/4113
* chore: Make every components seperate, remove workspace by @Xuanwo in https://github.com/apache/opendal/pull/4134
* chore: Make every components separate, remove workspace by @Xuanwo in https://github.com/apache/opendal/pull/4134
* chore: Fix build of core by @Xuanwo in https://github.com/apache/opendal/pull/4137
* chore: Fix workflow links for opendal by @Xuanwo in https://github.com/apache/opendal/pull/4147
* chore(website): Bump download link for 0.45.0 release by @morristai in https://github.com/apache/opendal/pull/4149
Expand Down
4 changes: 2 additions & 2 deletions bindings/c/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.67"
version = "0.44.3+core.0.45.1"
version = "0.44.3"

[lib]
crate-type = ["cdylib", "staticlib"]
Expand All @@ -37,7 +37,7 @@ cbindgen = "0.26.0"
[dependencies]
bytes = "1.4.0"
once_cell = "1.17.1"
opendal = { version = "0.45", path = "../../core", features = [
opendal = { version = "0.45.1", path = "../../core", features = [
"layers-blocking",
] }
tokio = { version = "1.27", features = ["fs", "macros", "rt-multi-thread"] }
2 changes: 1 addition & 1 deletion bindings/cpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.67"
version = "0.44.3+core.0.45.1"
version = "0.44.3"

[lib]
crate-type = ["staticlib"]
Expand Down
2 changes: 1 addition & 1 deletion bindings/dotnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
[package]
name = "opendal-dotnet"
publish = false
version = "0.1.1+core.0.45.1"
version = "0.1.1"

authors = ["Apache OpenDAL <[email protected]>"]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion bindings/haskell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.67"
version = "0.44.3+core.0.45.1"
version = "0.44.3"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.67"
version = "0.45.1+core.0.45.1"
version = "0.45.1"

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion bindings/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<groupId>org.apache.opendal</groupId>
<artifactId>opendal-java</artifactId>
<version>0.45.1+core.0.45.1</version>
<version>0.45.1</version>

<name>Apache OpenDAL™</name>
<description>
Expand Down
2 changes: 1 addition & 1 deletion bindings/lua/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
[package]
name = "opendal-lua"
publish = false
version = "0.1.1+core.0.45.1"
version = "0.1.1"

authors = ["Apache OpenDAL <[email protected]>"]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.67"
version = "0.45.1+core.0.45.1"
version = "0.45.1"

[features]
default = [
Expand Down
4 changes: 2 additions & 2 deletions bindings/nodejs/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@opendal/lib-darwin-arm64",
"repository": "[email protected]/apache/opendal.git",
"version": "0.45.1+core.0.45.1",
"version": "0.45.1",
"os": [
"darwin"
],
Expand All @@ -16,4 +16,4 @@
"engines": {
"node": ">= 10"
}
}
}
4 changes: 2 additions & 2 deletions bindings/nodejs/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opendal/lib-darwin-x64",
"version": "0.45.1+core.0.45.1",
"version": "0.45.1",
"repository": "[email protected]/apache/opendal.git",
"os": [
"darwin"
Expand All @@ -16,4 +16,4 @@
"engines": {
"node": ">= 10"
}
}
}
4 changes: 2 additions & 2 deletions bindings/nodejs/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opendal/lib-linux-arm64-gnu",
"version": "0.45.1+core.0.45.1",
"version": "0.45.1",
"repository": "[email protected]/apache/opendal.git",
"os": [
"linux"
Expand All @@ -19,4 +19,4 @@
"libc": [
"glibc"
]
}
}
4 changes: 2 additions & 2 deletions bindings/nodejs/npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opendal/lib-linux-arm64-musl",
"version": "0.45.1+core.0.45.1",
"version": "0.45.1",
"repository": "[email protected]/apache/opendal.git",
"os": [
"linux"
Expand All @@ -19,4 +19,4 @@
"libc": [
"glibc"
]
}
}
4 changes: 2 additions & 2 deletions bindings/nodejs/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opendal/lib-linux-x64-gnu",
"version": "0.45.1+core.0.45.1",
"version": "0.45.1",
"repository": "[email protected]/apache/opendal.git",
"os": [
"linux"
Expand All @@ -19,4 +19,4 @@
"libc": [
"glibc"
]
}
}
4 changes: 2 additions & 2 deletions bindings/nodejs/npm/win32-arm64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opendal/lib-win32-arm64-msvc",
"version": "0.45.1+core.0.45.1",
"version": "0.45.1",
"repository": "[email protected]/apache/opendal.git",
"os": [
"win32"
Expand All @@ -16,4 +16,4 @@
"engines": {
"node": ">= 10"
}
}
}
4 changes: 2 additions & 2 deletions bindings/nodejs/npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opendal/lib-win32-x64-msvc",
"version": "0.45.1+core.0.45.1",
"version": "0.45.1",
"repository": "[email protected]/apache/opendal.git",
"os": [
"win32"
Expand All @@ -16,4 +16,4 @@
"engines": {
"node": ">= 10"
}
}
}
2 changes: 1 addition & 1 deletion bindings/ocaml/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
[package]
name = "opendal-ocaml"
publish = false
version = "0.0.0+core.0.45.1"
version = "0.0.0"

authors = ["Apache OpenDAL <[email protected]>"]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion bindings/php/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
[package]
name = "opendal-php"
publish = false
version = "0.1.1+core.0.45.1"
version = "0.1.1"

authors = ["Apache OpenDAL <[email protected]>"]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/"
license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.67"
version = "0.45.1+core.0.45.1"
version = "0.45.1"

[features]
default = [
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
[package]
name = "opendal-ruby"
publish = false
version = "0.1.1+core.0.45.1"
version = "0.1.1"

authors = ["Apache OpenDAL <[email protected]>"]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion scripts/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def get_package_version(package):
# cargo_toml not exists, we should handle case by case ideally.
#
# However, those packages are not mature enough, it's much easier for us to always return `0.0.0` instead.
return f"0.0.0+core.{core_version}"
return f"0.0.0"


if __name__ == "__main__":
Expand Down
Loading