Fixing workflow
This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
||||
- 'v*'
|
||||
|
||||
env:
|
||||
HOMEBREW_REPO: "git@gitea.skydust.fr:Skydust/homebrew-clearscript.git"
|
||||
HOMEBREW_REPO: "https://gitea.skydust.fr/Skydust/homebrew-clearscript.git"
|
||||
|
||||
jobs:
|
||||
build-docker:
|
||||
@@ -24,9 +24,6 @@ jobs:
|
||||
log_info "Updating version in version.sh to $(yellow)$NEW_VERSION"
|
||||
sed -Ei "s|^(Version=\")[^\"]*|\1${NEW_VERSION}|" version.sh
|
||||
cat version.sh
|
||||
- name: Install stuff
|
||||
run: |
|
||||
apk add --no-cache openssh coreutils
|
||||
- name: TARRRRRRRR and push
|
||||
run: |
|
||||
PACKAGE_NAME="clearscript-v${NEW_VERSION}"
|
||||
@@ -39,7 +36,7 @@ jobs:
|
||||
--upload-file "${PACKAGE_NAME}.tar.gz" \
|
||||
"${PKG_URL}"
|
||||
|
||||
echo "PKG_SHA=$(sha256 -q "${PACKAGE_NAME}.tar.gz" | tr -d '\n')" >> $GITEA_ENV
|
||||
echo "PKG_SHA=$(sha256sum -z "${PACKAGE_NAME}.tar.gz" | cut -d' ' -f1)" >> $GITEA_ENV
|
||||
echo "PKG_URL=${PKG_URL}" >> $GITEA_ENV
|
||||
- name: Update homebrew repo
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user