mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-24 22:14:28 +00:00
prerelease fix
This commit is contained in:
parent
bfbd947cbd
commit
6d775107ad
6
.github/workflows/pre-release.yaml
vendored
6
.github/workflows/pre-release.yaml
vendored
|
@ -18,15 +18,15 @@ jobs:
|
|||
id: extract_version
|
||||
run: |
|
||||
version=$(date +"%Y.%m.%d")
|
||||
echo "version=$version" >> $env:GITHUB_ENV
|
||||
echo "version=$version" >> GITHUB_ENV
|
||||
shell: bash
|
||||
|
||||
- name: Create and Upload Release
|
||||
id: create_release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: ${{ env.VERSION }}
|
||||
name: Pre-Release ${{ env.VERSION }}
|
||||
tag_name: ${{ env.version }}
|
||||
name: Pre-Release ${{ env.version }}
|
||||
body: "![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/linutil/${{ env.VERSION }}/linutil)"
|
||||
append_body: false
|
||||
files: |
|
||||
|
|
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -36,3 +36,5 @@ jobs:
|
|||
toolchain: stable
|
||||
- name: Build
|
||||
run: cargo build --release --verbose
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ pub const THEMES: [Theme; 2] = [
|
|||
];
|
||||
|
||||
pub fn get_theme() -> &'static Theme {
|
||||
return &THEMES[unsafe {THEME_IDX} ];
|
||||
&THEMES[unsafe { THEME_IDX } ]
|
||||
}
|
||||
|
||||
pub fn set_theme(idx: usize){
|
||||
|
|
Loading…
Reference in New Issue
Block a user