Comments (1)
you can use environment variables in many fields, if I recall correctly, arch is one of them.
You can also pipe the file through some template engine before handling it to nfpm.
All that being said, "yes is forever", so, I rather not do this - or at least not right now.
Thanks for the suggestion either way.
from nfpm.
Related Issues (20)
- Mismatch in rpm package produced by nfpm and it's corresponding ConventionalFileName HOT 1
- setup nur & winget
- RPM cpio name contains the release twice HOT 3
- Support xbps packages HOT 3
- Support env var expansion for `contents.src` HOT 4
- Prerelease version using env HOT 2
- ppc64le support HOT 7
- Configuration Docs tells us not to use v prefix but it is included by nfpm init HOT 1
- no packager registered for the format archinux HOT 1
- Add support for SOURCE_DATE_EPOCH HOT 1
- Bad rights on created subdirectories HOT 10
- [docs] RuntimeDirectory was introduced in 211. Use of < 231 doesn't make sense HOT 1
- `nfpm` does not ensure reproducible builds HOT 8
- `mtime` is not used from config HOT 1
- Introduction of reproducible builds causes Lintian to throw `package-contains-ancient-file` errors for directories HOT 3
- Ability to specify a type as "config|tree" for `/etc` so that all files are referenced in configfiles
- `file_info.mode` is not inherited when using `type: tree` HOT 2
- only last depends/provides/conflicts are written in package HOT 2
- APK: setting release creates invalid package version HOT 5
- bug: unchanged permessions on nfpm file HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nfpm.