mirror of
https://github.com/darwincereska/homebrew-software.git
synced 2026-02-12 04:04:41 -05:00
fix
This commit is contained in:
10
.github/workflows/bump-ttymer.yml
vendored
10
.github/workflows/bump-ttymer.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
|
|
||||||
- name: Fetch latest release from GitHub
|
- name: Fetch latest release tag from GitHub
|
||||||
id: fetch
|
id: fetch
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
@@ -25,12 +25,14 @@ jobs:
|
|||||||
repo: 'ttymer'
|
repo: 'ttymer'
|
||||||
});
|
});
|
||||||
core.setOutput("version", release.data.tag_name);
|
core.setOutput("version", release.data.tag_name);
|
||||||
core.setOutput("url", release.data.tarball_url);
|
|
||||||
|
|
||||||
- name: Download tarball and compute SHA256
|
- name: Download archive from refs/tags and compute SHA256
|
||||||
id: compute
|
id: compute
|
||||||
run: |
|
run: |
|
||||||
curl -L -o ttymer.tar.gz "${{ steps.fetch.outputs.url }}"
|
VERSION=${{ steps.fetch.outputs.version }}
|
||||||
|
ARCHIVE_URL="https://github.com/darwincereska/ttymer/archive/refs/tags/${VERSION}.tar.gz"
|
||||||
|
echo "Downloading archive: $ARCHIVE_URL"
|
||||||
|
curl -L -o ttymer.tar.gz "$ARCHIVE_URL"
|
||||||
SHA256=$(sha256sum ttymer.tar.gz | awk '{ print $1 }')
|
SHA256=$(sha256sum ttymer.tar.gz | awk '{ print $1 }')
|
||||||
echo "sha256=$SHA256" >> $GITHUB_OUTPUT
|
echo "sha256=$SHA256" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|||||||
10
.github/workflows/bump-xswitcher.yml
vendored
10
.github/workflows/bump-xswitcher.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
|
|
||||||
- name: Fetch latest release from GitHub
|
- name: Fetch latest release tag from GitHub
|
||||||
id: fetch
|
id: fetch
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
@@ -25,12 +25,14 @@ jobs:
|
|||||||
repo: 'xswitcher'
|
repo: 'xswitcher'
|
||||||
});
|
});
|
||||||
core.setOutput("version", release.data.tag_name);
|
core.setOutput("version", release.data.tag_name);
|
||||||
core.setOutput("url", release.data.tarball_url);
|
|
||||||
|
|
||||||
- name: Download tarball and compute SHA256
|
- name: Download archive from refs/tags and compute SHA256
|
||||||
id: compute
|
id: compute
|
||||||
run: |
|
run: |
|
||||||
curl -L -o xswitcher.tar.gz "${{ steps.fetch.outputs.url }}"
|
VERSION=${{ steps.fetch.outputs.version }}
|
||||||
|
ARCHIVE_URL="https://github.com/darwincereska/xswitcher/archive/refs/tags/${VERSION}.tar.gz"
|
||||||
|
echo "Downloading archive: $ARCHIVE_URL"
|
||||||
|
curl -L -o xswitcher.tar.gz "$ARCHIVE_URL"
|
||||||
SHA256=$(sha256sum xswitcher.tar.gz | awk '{ print $1 }')
|
SHA256=$(sha256sum xswitcher.tar.gz | awk '{ print $1 }')
|
||||||
echo "sha256=$SHA256" >> $GITHUB_OUTPUT
|
echo "sha256=$SHA256" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
class Ttymer < Formula
|
class Ttymer < Formula
|
||||||
version "1.0.2"
|
version "1.0.1"
|
||||||
desc "A terminal timer app written in Go"
|
desc "A terminal timer app written in Go"
|
||||||
homepage "https://github.com/darwincereska/ttymer"
|
homepage "https://github.com/darwincereska/ttymer"
|
||||||
url "https://github.com/darwincereska/ttymer/archive/refs/tags/v#{version}.tar.gz"
|
url "https://github.com/darwincereska/ttymer/archive/refs/tags/v#{version}.tar.gz"
|
||||||
|
|||||||
Reference in New Issue
Block a user