native-packages 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 164594265b7f47190d318ad3507446103c389206e0ab2901a54371b21c53f0ed
4
- data.tar.gz: 79cfdca9089b718e2e65f4203e3ca4629542517e859992340c79229df715e68c
3
+ metadata.gz: af0462ecd5b50ab3aeb8415ff1c95c7d910b858ef1f3804b18526cfd41ada930
4
+ data.tar.gz: 48c6d9f15ad4b8ed60617416780fa5a03f294bc4f629949a5e31af7e041c84fd
5
5
  SHA512:
6
- metadata.gz: 587d2a749a8b5d6f380a37ca932dbb0d587bd6bee763269a5783a54d8f50bc5ab0102b32958c6eabcab79de4447b4acaa7cc8e063340a848a123b9b34d851342
7
- data.tar.gz: a0935ea30ddf612535a11903912b2bfbe34ec947ac396254b0abefb0182e9a54e0551f797520916cb402208421251dfb2cc583fdf050c2e1eef1f3808ca82194
6
+ metadata.gz: ed735938724f514a10b46a50b21ac3131abc1d07981544b0f6f89d5010137b9e7674e041aeed97828de39d1fc2ff243241047f051a7ae78ac75beda8a446e30b
7
+ data.tar.gz: 5bb0021eeab1b651c10170de7a57c1e38036714477e15a9e8d698ad68fe836d136de70107b8f180734225b502cd161ada0b01df234a382c9b582e9789a79bc54
data/README.md CHANGED
@@ -95,7 +95,7 @@ packaging:
95
95
  needs: release
96
96
  permissions:
97
97
  contents: write
98
- uses: crmne/native-packages/.github/workflows/package.yml@v0.3.0
98
+ uses: crmne/native-packages/.github/workflows/package.yml@v0.3.1
99
99
  with:
100
100
  version: ${{ github.ref_name }}
101
101
  publish: true
@@ -121,7 +121,7 @@ Migration combines `packaging/project.yml`, its nFPM definition and repository r
121
121
  bundle install
122
122
  bundle exec ruby -Ilib -e 'Dir["test/*_test.rb"].sort.each { |path| require_relative path }'
123
123
  gem build native-packages.gemspec
124
- ruby test/gem_install.rb native-packages-0.3.0.gem
124
+ ruby test/gem_install.rb native-packages-0.3.1.gem
125
125
  ```
126
126
 
127
127
  Tests build real packages, inspect their payloads and exercise repository publication against local Git fixtures. CI additionally runs disposable Linux install/upgrade/remove checks, SRPM rebuilds and Windows MSIX acceptance. Runtime build manifests report installation as `not-tested`: CI fixture coverage is not a substitute for testing each application's packages.
data/docs/releasing.md CHANGED
@@ -23,7 +23,7 @@ Update the gemspec, `NativePackages::VERSION`, example/version references and ch
23
23
  Create a GitHub release for that commit:
24
24
 
25
25
  ```sh
26
- gh release create v0.3.0 --target main --title 'native-packages 0.3.0' --notes-file release-notes.md
26
+ gh release create v0.3.1 --target main --title 'native-packages 0.3.1' --notes-file release-notes.md
27
27
  ```
28
28
 
29
29
  Adding `--draft` permits review before publication and does not trigger the publisher. The tag must match the exact gem version and point to a commit on `main`. Set `--prerelease` only for a prerelease gem version.
@@ -1,7 +1,7 @@
1
1
  # Supply the listed build outputs before running this example.
2
2
  schema: 1
3
3
  tool:
4
- version: '0.3.0'
4
+ version: '0.3.1'
5
5
  nfpm: '2.47.0'
6
6
  nfpm:
7
7
  name: example-app
@@ -1,6 +1,6 @@
1
1
  schema: 1
2
2
  tool:
3
- version: '0.3.0'
3
+ version: '0.3.1'
4
4
  nfpm: '2.47.0'
5
5
  nfpm:
6
6
  name: example-app
@@ -100,7 +100,10 @@ module NativePackages
100
100
  Pathname.glob(output / "arch/*/PKGBUILD").each do |recipe|
101
101
  write(recipe.dirname / ".SRCINFO", srcinfo(recipe.dirname))
102
102
  end
103
- write(output / "release.json", JSON.pretty_generate(metadata.sort.to_h) + "\n")
103
+ # ROOT resolves local build inputs and templates. Persisting it makes
104
+ # otherwise identical target builds conflict when runners use different
105
+ # checkout directories (and exposes an irrelevant machine-local path).
106
+ write(output / "release.json", JSON.pretty_generate(metadata.reject { |key, _| key == "ROOT" }.sort.to_h) + "\n")
104
107
  end
105
108
 
106
109
  def check(output, prerelease: false)
@@ -12,7 +12,7 @@ require "tmpdir"
12
12
  require "yaml"
13
13
 
14
14
  module NativePackages
15
- VERSION = "0.3.0"
15
+ VERSION = "0.3.1"
16
16
  class Error < StandardError; end
17
17
 
18
18
  module Support
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: native-packages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carmine Paolino