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

v1 plan #4

Open
s3xysteak opened this issue Nov 15, 2024 · 0 comments
Open

v1 plan #4

s3xysteak opened this issue Nov 15, 2024 · 0 comments
Labels
announcement Some important information you may want to know

Comments

@s3xysteak
Copy link
Owner

s3xysteak commented Nov 15, 2024

I am planning to migrate to bumpp, which will be released as a major version if successful.

Although tauri-version can basically take on simple functions, it is troubling that it is not robust enough and not intuitive enough --- compared with other bump libraries.

I think it is meaningless to implement the bump function repeatedly. I have always hoped to find a bump library that is compatible with the core functions of tauri-version.

In bumpp's v9.8.0 update, the new execute option finally makes this possible. If tauri-version is successfully migrated to bumpp, the usage will look like this:

// bump.config.ts
import { defineConfig } from 'bumpp'
import tauri from 'tauri-version'

export default defineConfig({
  // execute: tauri
  async execute(ctx) {
    await tauri(ctx, {
      lock: false
    })
  }
})
npm bumpp
npm bumpp patch
npx bumpp
...

bumpp behaves similarly to tauri-version@^0.x.x by default, but better. Like you can do confirmation before bumping, prompt for the type of version bump, etc... You may have noticed that tauri-version is using bumpp actually.

I will keep the cli for backward compatibility and will not remove it until the appropriate time in the future.

@s3xysteak s3xysteak added the announcement Some important information you may want to know label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
announcement Some important information you may want to know
Projects
None yet
Development

No branches or pull requests

1 participant