-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scripts + CI: Correcting permissions and adding separate build script (…
…#177) * scripts: Adding missing executable permissions These are needed to make the scripts executable. Adding these permissions are added by the Jenkins script anyways. Signed-off-by: Thomas Karl Pietrowski <[email protected]> (github: thopiekar) * CI: Adding separate build script It will allow us to make builds locally the same way as Jenkins does. Easily.. Signed-off-by: Thomas Karl Pietrowski <[email protected]> (github: thopiekar) * build: Removing chmod a+x on scripts They have been chmod'ed in 6811044 already. Signed-off-by: Thomas Karl Pietrowski <[email protected]> (github: thopiekar) * build: Exclude the build script itself from the spk package Nothing left to say. Signed-off-by: Thomas Karl Pietrowski <[email protected]> (github: thopiekar) * CI: Correcting name of the file to be deployed Nothing to add here. Signed-off-by: Thomas Karl Pietrowski <[email protected]> (github: thopiekar)
- Loading branch information
Showing
12 changed files
with
20 additions
and
5 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,18 @@ | ||
#!/bin/bash -eux | ||
|
||
[[ -z "${OPENHAB_VERSION:-}" ]] && echo "OPENHAB_VERSION is not set!" && exit 1 | ||
|
||
FILE_NAME=openHAB-${OPENHAB_VERSION}-syno-noarch-0.001.spk | ||
echo ${FILE_NAME} | ||
|
||
rm -f ${FILE_NAME} | ||
|
||
tar cf ${FILE_NAME} \ | ||
--exclude=build.sh \ | ||
--exclude=.git* \ | ||
--exclude=\*.md \ | ||
--exclude=.travis.\* \ | ||
--owner=0 \ | ||
--group=0 \ | ||
--numeric-owner \ | ||
* |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.