diff --git a/.github/workflows/please-release.yml b/.github/workflows/please-release.yml new file mode 100644 index 0000000..516ab84 --- /dev/null +++ b/.github/workflows/please-release.yml @@ -0,0 +1,16 @@ +--- +on: + push: + branches: + - main + +name: release-please +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v3 + with: + release-type: ruby + package-name: kitchen-azurerm + version-file: lib/kitchen/version.rb diff --git a/kitchen-azurerm.gemspec b/kitchen-azurerm.gemspec index 1e973e0..261dde0 100644 --- a/kitchen-azurerm.gemspec +++ b/kitchen-azurerm.gemspec @@ -2,7 +2,7 @@ lib = File.expand_path("lib", __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = "kitchen-azurerm" - spec.version = "1.10.2" + spec.version = KitchenAzureRM::VERSION spec.authors = ["Stuart Preston"] spec.email = ["stuart@chef.io"] spec.summary = "Test Kitchen driver for Azure Resource Manager." diff --git a/lib/kitchen/version.rb b/lib/kitchen/version.rb new file mode 100644 index 0000000..618cad1 --- /dev/null +++ b/lib/kitchen/version.rb @@ -0,0 +1,3 @@ +module KitchenAzureRM + VERSION = "1.10.2".freeze +end