-
Notifications
You must be signed in to change notification settings - Fork 865
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ipfsd-ctl-update
- Loading branch information
Showing
65 changed files
with
1,671 additions
and
870 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 |
---|---|---|
|
@@ -4,4 +4,6 @@ release | |
out | ||
*.log | ||
*.lock | ||
package-lock.json | ||
package-lock.json | ||
dist | ||
*.zip |
This file was deleted.
Oops, something went wrong.
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
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,4 +1,4 @@ | ||
#! /usr/bin/env bash | ||
set -e | ||
chmod 755 /usr/lib/ipfs-station/resources/app/node_modules/go-ipfs-dep/go-ipfs/ipfs | ||
chmod 755 /usr/lib/ipfs-desktop/resources/app/node_modules/go-ipfs-dep/go-ipfs/ipfs | ||
echo "Changed permissions correctly" |
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,27 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# Pre-requisites: | ||
# GITHUB_TOKEN must be set | ||
# tag must be set | ||
|
||
LAST_BUILD="https://ci.ipfs.team/job/IPFS%20Shipyard/job/ipfs-desktop/job/master/lastSuccessfulBuild/artifact/out/make/*zip*/make.zip" | ||
|
||
# Install GHR if not present | ||
if ! [ -x "$(command -v ghr)" ]; then | ||
go get -u github.com/tcnksm/ghr | ||
fi | ||
|
||
# Get the latest successfull build and unzip it | ||
curl -o latest.zip "$LAST_BUILD" | ||
unzip -o latest.zip -d dist/ | ||
|
||
cd dist | ||
|
||
# Remove nupkg, releases and flattens the directory. | ||
find . -type f -name '*.nupkg' -delete | ||
find . -type f -name 'RELEASES' -delete | ||
find . -type d -empty -delete | ||
find . -mindepth 2 -type f -exec mv -i '{}' . ';' | ||
|
||
ghr -u ipfs-shipyard -r ipfs-desktop "$tag" . |
Oops, something went wrong.