Try to fix the build
This commit is contained in:
parent
b7ee3e066b
commit
4273413e98
@ -28,6 +28,8 @@ pipeline:
|
|||||||
image: offline-twitter/go
|
image: offline-twitter/go
|
||||||
when:
|
when:
|
||||||
branch: release-*
|
branch: release-*
|
||||||
|
secrets:
|
||||||
|
- offline_twatter_passwd
|
||||||
commands:
|
commands:
|
||||||
- export version=$(echo $CI_COMMIT_BRANCH | grep -Poh "(?<=^release-)\d+\.\d+\.\d+")
|
- export version=$(echo $CI_COMMIT_BRANCH | grep -Poh "(?<=^release-)\d+\.\d+\.\d+")
|
||||||
- curl https://apt.playfulpachyderm.com/KEY.gpg | sudo apt-key add -
|
- curl https://apt.playfulpachyderm.com/KEY.gpg | sudo apt-key add -
|
||||||
@ -37,8 +39,9 @@ pipeline:
|
|||||||
- which twitter
|
- which twitter
|
||||||
- twitter create_profile outdated_profile
|
- twitter create_profile outdated_profile
|
||||||
- cd outdated_profile
|
- cd outdated_profile
|
||||||
|
- twitter login offline_twatter "$OFFLINE_TWATTER_PASSWD"
|
||||||
- twitter fetch_user michaelmalice
|
- twitter fetch_user michaelmalice
|
||||||
- twitter get_user_tweets michaelmalice
|
- twitter --session Offline_Twatter get_user_tweets michaelmalice
|
||||||
- (cd ../cmd && ./compile.sh $version)
|
- (cd ../cmd && ./compile.sh $version)
|
||||||
- which ../cmd/tw
|
- which ../cmd/tw
|
||||||
- ../cmd/tw fetch_user michaelmalice
|
- ../cmd/tw fetch_user michaelmalice
|
||||||
|
Loading…
x
Reference in New Issue
Block a user