Skip to content

Commit

Permalink
added tag to a particular uplink version (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush-srivastava-03 authored Aug 25, 2020
1 parent e7bbed8 commit 85297ca
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Storj-Nodejs Changelog

## [1.0.7] - 24-08-2020
* Updated Make file

## [1.0.6] - 10-08-2020
* Changed function structures
* Updates documentation
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ GOGET=$(GOCMD) get
# Uplink-c
GIT_REPO=https://github.com/storj/uplink-c
UPLINKC_NAME=uplink-c
UPLINKC_VERSION=v1.0.5
#Library Name
LIBRARY_NAME_LINUX=libuplinkc.so
LIBRARY_NAME_DARWIN=libuplinkc.dylib
Expand All @@ -20,13 +21,13 @@ RESET_COLOR=\033[0m
#
build:
ifdef OS
git clone ${GIT_REPO}
git clone -b ${UPLINKC_VERSION} ${GIT_REPO}
(cd ${UPLINKC_NAME}) && (${GOBUILD} -o ../${LIBRARY_NAME_WIN} -buildmode=c-shared) && (move ${LIBRARY_UPLINK} ../)
rmdir /s ${UPLINKC_NAME}
else
echo "$(shell uname)";\
if [ ! -d $(UPLINKC_NAME) ]; then\
git clone $(GIT_REPO);\
git clone -b $(UPLINKC_VERSION) $(GIT_REPO);\
fi;\
if [ $(shell uname) = Darwin ]; then\
cd $(UPLINKC_NAME);$(GOBUILD) -o ../$(LIBRARY_NAME_DARWIN) -buildmode=c-shared;mv $(LIBRARY_UPLINK) ../;cd ../;\
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uplink-nodejs",
"version": "1.0.6",
"version": "1.0.7",
"description": "Storj-NodeJS bindings package",
"main": "uplink.js",
"scripts": {
Expand Down

0 comments on commit 85297ca

Please sign in to comment.