mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Use CARGO_PKG_VERSION for plugin versions
Instead of duplicating this. Means that plugin versions only need to be updated in the Cargo.toml file.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "spectral_compressor"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
edition = "2021"
|
||||
authors = ["Robbert van der Helm <mail@robbertvanderhelm.nl>"]
|
||||
license = "GPL-3.0-or-later"
|
||||
|
||||
@@ -261,7 +261,7 @@ impl Plugin for SpectralCompressor {
|
||||
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug";
|
||||
const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
|
||||
|
||||
const VERSION: &'static str = "0.2.0";
|
||||
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
const DEFAULT_INPUT_CHANNELS: u32 = 2;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = 2;
|
||||
|
||||
Reference in New Issue
Block a user