Skip to content

Commit

Permalink
fix github-release extract and path
Browse files Browse the repository at this point in the history
  • Loading branch information
substring committed Jan 14, 2021
1 parent 3f1b498 commit 98b1e9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ stages:
- pacman-key --init && \
pacman-key --populate archlinux || true
- pacman -Syu --noconfirm archiso patch grep gettext file xz tar git
- curl -L https://github.com/github-release/github-release/releases/download/v0.10.0/linux-amd64-github-release.bz2 | tar -jx --strip-components 3 -C /usr/local/bin bin/linux/amd64/github-release
- curl -L https://github.com/github-release/github-release/releases/download/v0.10.0/linux-amd64-github-release.bz2 | bzip2 -d > /usr/local/bin/github-release && chmod +x /usr/local/bin/github-release
- cp groovy-ux-repo.conf /etc/pacman.d
- grep -q groovy-ux-repo.conf /etc/pacman.conf || echo -e "\nInclude = /etc/pacman.d/groovy-ux-repo.conf" >> /etc/pacman.conf
- ln -s "$(pwd)" /work && ls -l /work
Expand Down Expand Up @@ -54,5 +54,5 @@ clean_release:
action: stop
script:
- apk add curl
- curl -L https://github.com/github-release/github-release/releases/download/v0.10.0/linux-amd64-github-release.bz2 | tar -jx --strip-components 3 -C /usr/local/bin bin/linux/amd64/github-release
- curl -L https://github.com/github-release/github-release/releases/download/v0.10.0/linux-amd64-github-release.bz2 | bzip2 -d > /usr/local/bin/github-release && chmod +x /usr/local/bin/github-release
- github-release delete -t "$CI_COMMIT_REF_SLUG"
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN pacman -Syu --noconfirm --needed \
dos2unix \
gettext

RUN curl -L https://github.com/github-release/github-release/releases/download/v0.10.0/linux-amd64-github-release.bz2 | tar -jx --strip-components 3 -C /usr/local/bin bin/linux/amd64/github-release
RUN curl -L https://github.com/github-release/github-release/releases/download/v0.10.0/linux-amd64-github-release.bz2 | bzip2 -d > /usr/local/bin/github-release && chmod +x /usr/local/bin/github-release

RUN mkdir -p /work/overlay /work/fakeroot

Expand Down

0 comments on commit 98b1e9d

Please sign in to comment.