Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new utility to create redistribuable.
- Loading branch information
Showing
4 changed files
with
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,5 @@ build | |
/PapARt.tgz | ||
/big-files/ | ||
/Papart-examples-master/ | ||
/Papart-examples/ | ||
*.tgz |
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#!/bin/bash | ||
|
||
BRANCH=realsense | ||
|
||
echo "Download the examples" | ||
wget https://github.com/potioc/Papart-examples/archive/master.zip | ||
unzip master.zip | ||
wget https://github.com/potioc/Papart-examples/archive/$BRANCH.zip | ||
unzip $BRANCH.zip | ||
|
||
mv Papart-examples-$BRANCH Papart-examples | ||
|
||
echo "cleaning the examples" | ||
rm master.zip | ||
rm $BRANCH.zip |
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,20 @@ | ||
#!/bin/ruby | ||
|
||
|
||
|
||
|
||
current_branch = %x(git rev-parse --abbrev-ref HEAD).chomp | ||
|
||
output_names=["realsense", | ||
"kinect", | ||
"hardware2", | ||
"hardware3"] | ||
|
||
output_names.each do |release_name| | ||
puts %x(git checkout release-#{release_name}) | ||
puts %x(git merge --commit -m "automatic merge for deployment" #{current_branch}) | ||
|
||
puts %x(git push github release-#{release_name}) | ||
end | ||
|
||
puts %x(git checkout #{current_branch}) |