2 Commits

Author SHA1 Message Date
5b71ebf994 Forgot to remove the version in the tar
All checks were successful
Rebase Remote Branches / rebase-branches (push) Successful in 3s
Production deployment / Building and pushing (push) Successful in 4s
2025-01-12 12:58:44 +01:00
0cf501af3b Another file cannot be used
Some checks failed
Rebase Remote Branches / rebase-branches (push) Successful in 3s
Production deployment / Building and pushing (push) Failing after 3s
2025-01-12 12:57:41 +01:00
3 changed files with 3 additions and 7 deletions

View File

@@ -22,13 +22,12 @@ jobs:
- name: Update package version - name: Update package version
run: | run: |
log_info "Updating version in version.sh to $(yellow)$NEW_VERSION" log_info "Updating version in version.sh to $(yellow)$NEW_VERSION"
sed -Ei "s|^(Version=\")[^\"]*|\1${NEW_VERSION}|" version.sh sed -Ei "s|^(Version=\")[^\"]*|\1${NEW_VERSION}|" Clear.sh
cat version.sh
- name: TARRRRRRRR and push - name: TARRRRRRRR and push
run: | run: |
PACKAGE_NAME="clearscript-v${NEW_VERSION}" PACKAGE_NAME="clearscript-v${NEW_VERSION}"
log_info "Packaging app into $(yellow)${PACKAGE_NAME}" log_info "Packaging app into $(yellow)${PACKAGE_NAME}"
tar -zcf "${PACKAGE_NAME}.tar.gz" Clear.sh version.sh README.md tar -zcf "${PACKAGE_NAME}.tar.gz" Clear.sh README.md
log_info "Sending package" log_info "Sending package"
PKG_URL="${GITHUB_SERVER_URL}/api/packages/Skydust/generic/brew-clearscript/${NEW_VERSION}/package.tar.gz" PKG_URL="${GITHUB_SERVER_URL}/api/packages/Skydust/generic/brew-clearscript/${NEW_VERSION}/package.tar.gz"

View File

@@ -1,5 +1,5 @@
#!/bin/zsh #!/bin/zsh
source "./version.sh" Version="2.0"
# ------ COLOR SETUP ------ # # ------ COLOR SETUP ------ #
# Reset # Reset

View File

@@ -1,3 +0,0 @@
#!/bin/zsh
# shellcheck disable=SC2034
Version="2.0"