Skip to content

Commit

Permalink
0.10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
acheronfail committed Nov 19, 2023
1 parent fae1446 commit fae1087
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Get the release version from the tag
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT

build-release:
strategy:
Expand Down Expand Up @@ -85,7 +85,11 @@ jobs:
needs: ['build-release']
runs-on: ubuntu-latest
steps:
# checkout code
- uses: actions/checkout@v4
# install rust
- run: rustup show
# publish crate
- shell: bash
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
Expand All @@ -107,7 +111,7 @@ jobs:
echo "${{ vars.SSH_KNOWN_HOSTS }}" >> $HOME/.ssh/known_hosts
chmod 0600 $HOME/.ssh/*
- run: |
git clone ssh://[email protected]/i3stat.git aur && cd "$_"
git clone ssh://[email protected]/i3stat.git aur && cd "$_" && git checkout master
sudo chown -R 1000:1000 "$PWD"
docker run \
--rm \
Expand All @@ -116,7 +120,7 @@ jobs:
--env "GIT_COMMITTER_NAME=acheronfail" \
--env "[email protected]" \
--env "[email protected]" \
acheronfail/makepkg just update ${{ env.RELEASE_VERSION }}
acheronfail/makepkg just update ${{ steps.prepare-env.outputs.RELEASE_VERSION }}
sudo chown -R $USER:$USER "$PWD"
git push
Expand All @@ -136,7 +140,7 @@ jobs:
echo "${{ vars.SSH_KNOWN_HOSTS }}" >> $HOME/.ssh/known_hosts
chmod 0600 $HOME/.ssh/*
- run: |
git clone ssh://[email protected]/i3stat-bin.git aur && cd "$_"
git clone ssh://[email protected]/i3stat-bin.git aur && cd "$_" && git checkout master
sudo chown -R 1000:1000 "$PWD"
docker run \
--rm \
Expand All @@ -145,7 +149,7 @@ jobs:
--env "GIT_COMMITTER_NAME=acheronfail" \
--env "[email protected]" \
--env "[email protected]" \
acheronfail/makepkg just update ${{ env.RELEASE_VERSION }}
acheronfail/makepkg just update ${{ steps.prepare-env.outputs.RELEASE_VERSION }}
sudo chown -R $USER:$USER "$PWD"
git push
Expand All @@ -165,7 +169,7 @@ jobs:
with:
files: |
artifacts/i3stat-x86_64-unknown-linux-gnu.zip
tag_name: ${{ env.RELEASE_VERSION }}
tag_name: ${{ steps.prepare-env.outputs.RELEASE_VERSION }}
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
echo "${{ vars.SSH_KNOWN_HOSTS }}" >> $HOME/.ssh/known_hosts
chmod 0600 $HOME/.ssh/*
- run: |
git clone ssh://[email protected]/i3stat-git.git aur && cd "$_"
git clone ssh://[email protected]/i3stat-git.git aur && cd "$_" && git checkout master
sudo chown -R 1000:1000 "$PWD"
docker run \
--rm \
Expand All @@ -69,5 +69,4 @@ jobs:
--env "[email protected]" \
--env "[email protected]" \
acheronfail/makepkg just update
sudo chown -R $USER:$USER "$PWD"
git push
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "i3stat"
version = "0.10.3"
version = "0.10.4"
edition = "2021"
authors = ["acheronfail <[email protected]>"]
description = "A lightweight and batteries-included status_command for i3 and sway"
Expand Down

0 comments on commit fae1087

Please sign in to comment.