diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..0ce89cf --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,20 @@ +--- +name: Release + +on: + push: + tags: + - 'v*' + +jobs: + release: + name: Release gem + runs-on: ubuntu-latest + environment: release + if: github.repository_owner == 'theforeman' + + permissions: + id-token: write + + steps: + - uses: voxpupuli/ruby-release@v0 diff --git a/app/services/foreman_bootdisk/iso_generator.rb b/app/services/foreman_bootdisk/iso_generator.rb index 5fb0362..5ecec9a 100644 --- a/app/services/foreman_bootdisk/iso_generator.rb +++ b/app/services/foreman_bootdisk/iso_generator.rb @@ -133,6 +133,7 @@ def self.generate(opts = {}) File.join(wd, 'build', 'grub-hdd.cfg').to_s => 'GRUB.CFG', File.join(Setting[:bootdisk_grub2_dir], 'grubx64.efi').to_s => 'GRUBX64.EFI', File.join(Setting[:bootdisk_grub2_dir], 'shimx64.efi').to_s => 'BOOTX64.EFI', + File.join(Setting[:bootdisk_grub2_dir], 'mmx64.efi').to_s => 'MMX64.EFI', }.each do |src, dest| raise(Foreman::Exception.new(N_('Ensure %{file} is readable (or update "Grub2 directory" setting)'), file: src)) unless File.exist?(src) raise(Foreman::Exception.new(N_('Unable to mcopy %{file}'), file: src)) unless system("mcopy -m -i #{efibootimg} '#{src}' '#{"::/EFI/BOOT/#{dest}"}'") diff --git a/lib/foreman_bootdisk/version.rb b/lib/foreman_bootdisk/version.rb index 97c0148..19d7823 100644 --- a/lib/foreman_bootdisk/version.rb +++ b/lib/foreman_bootdisk/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module ForemanBootdisk - VERSION = '22.0.3' + VERSION = '22.0.4' end