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 +4 -4
- data/README.md +2 -2
- data/docs/releasing.md +1 -1
- data/examples/native-packages-all-formats.yaml +1 -1
- data/examples/native-packages.yaml +1 -1
- data/lib/native_packages/project.rb +4 -1
- data/lib/native_packages/support.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: af0462ecd5b50ab3aeb8415ff1c95c7d910b858ef1f3804b18526cfd41ada930
|
|
4
|
+
data.tar.gz: 48c6d9f15ad4b8ed60617416780fa5a03f294bc4f629949a5e31af7e041c84fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
@@ -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
|
-
|
|
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)
|