This repository has been archived by the owner on Aug 9, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for releasing as a Debian package
- Loading branch information
Showing
4 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "cacophony-web-vuex" | ||
arch: "amd64" | ||
platform: "linux" | ||
version: "0.0.0" | ||
maintainer: "Cacophony Developers <dev@cacophony.org.nz>" | ||
description: | | ||
Web interface for the Cacophony Project API | ||
vendor: "The Cacophony Project" | ||
homepage: https://github.com/TheCacophonyProject | ||
license: "GPLv3" | ||
files: | ||
./index.html: "/srv/cacophony/cacophony-web-vuex/" | ||
./dist/*: "/srv/cacophony/cacophony-web-vuex/dist/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
# This script writes the version number in $npm_package_version into | ||
# the correct place in nfpm.yaml. It is called by a script target in | ||
# packages.json. | ||
|
||
perl -pi -e "s/^version:.+/version: \"$npm_package_version\"/" nfpm.yaml | ||
git add nfpm.yaml |