Compare commits
8 Commits
0391ec2b69
...
e52e32a2c0
Author | SHA1 | Date | |
---|---|---|---|
e52e32a2c0 | |||
6a999ef25d | |||
7918006315 | |||
61f4423d47 | |||
df2cae393c | |||
0a0d05c048 | |||
807611ffce | |||
def18273f4 |
37
.github/workflows/release.yml
vendored
37
.github/workflows/release.yml
vendored
@ -18,7 +18,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
# Enable when testing release infrastructure on a branch.
|
# Enable when testing release infrastructure on a branch.
|
||||||
branches:
|
branches:
|
||||||
- kjuulh/tests
|
- kjuulh/test
|
||||||
tags:
|
tags:
|
||||||
- "[0-9]+.[0-9]+.[0-9]+"
|
- "[0-9]+.[0-9]+.[0-9]+"
|
||||||
jobs:
|
jobs:
|
||||||
@ -68,7 +68,7 @@ jobs:
|
|||||||
PCRE2_SYS_STATIC: 1
|
PCRE2_SYS_STATIC: 1
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
build: [linux, linux-arm, macos, win-msvc, win-gnu, win32-msvc]
|
build: [linux, linux-arm, macos] #, win-msvc, win-gnu, win32-msvc]
|
||||||
include:
|
include:
|
||||||
- build: linux
|
- build: linux
|
||||||
os: ubuntu-22.04
|
os: ubuntu-22.04
|
||||||
@ -81,19 +81,20 @@ jobs:
|
|||||||
- build: macos
|
- build: macos
|
||||||
os: macos-12
|
os: macos-12
|
||||||
rust: nightly
|
rust: nightly
|
||||||
target: x86_64-apple-darwin
|
target:
|
||||||
- build: win-msvc
|
x86_64-apple-darwin
|
||||||
os: windows-2022
|
# - build: win-msvc
|
||||||
rust: nightly
|
# os: windows-2022
|
||||||
target: x86_64-pc-windows-msvc
|
# rust: nightly
|
||||||
- build: win-gnu
|
# target: x86_64-pc-windows-msvc
|
||||||
os: windows-2022
|
# - build: win-gnu
|
||||||
rust: nightly-x86_64-gnu
|
# os: windows-2022
|
||||||
target: x86_64-pc-windows-gnu
|
# rust: nightly-x86_64-gnu
|
||||||
- build: win32-msvc
|
# target: x86_64-pc-windows-gnu
|
||||||
os: windows-2022
|
# - build: win32-msvc
|
||||||
rust: nightly
|
# os: windows-2022
|
||||||
target: i686-pc-windows-msvc
|
# rust: nightly
|
||||||
|
# target: i686-pc-windows-msvc
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -148,8 +149,8 @@ jobs:
|
|||||||
staging="kignore-${{ needs.create-release.outputs.kignore_version }}-${{ matrix.target }}"
|
staging="kignore-${{ needs.create-release.outputs.kignore_version }}-${{ matrix.target }}"
|
||||||
mkdir -p "$staging"/{complete,doc}
|
mkdir -p "$staging"/{complete,doc}
|
||||||
|
|
||||||
cp {README.md,COPYING,UNLICENSE,LICENSE-MIT} "$staging/"
|
cp {README.md,LICENSE-MIT} "$staging/"
|
||||||
cp {CHANGELOG.md,FAQ.md,GUIDE.md} "$staging/doc/"
|
#cp {CHANGELOG.md,FAQ.md,GUIDE.md} "$staging/doc/"
|
||||||
#cp "$outdir"/{rg.bash,rg.fish,_rg.ps1} "$staging/complete/"
|
#cp "$outdir"/{rg.bash,rg.fish,_rg.ps1} "$staging/complete/"
|
||||||
#cp complete/_rg "$staging/complete/"
|
#cp complete/_rg "$staging/complete/"
|
||||||
|
|
||||||
@ -159,7 +160,7 @@ jobs:
|
|||||||
echo "ASSET=$staging.zip" >> $GITHUB_ENV
|
echo "ASSET=$staging.zip" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
# The man page is only generated on Unix systems.
|
# The man page is only generated on Unix systems.
|
||||||
cp "$outdir"/kignore.1 "$staging/doc/"
|
#cp "$outdir"/kignore.1 "$staging/doc/"
|
||||||
cp "target/${{ matrix.target }}/release/kignore" "$staging/"
|
cp "target/${{ matrix.target }}/release/kignore" "$staging/"
|
||||||
tar czf "$staging.tar.gz" "$staging"
|
tar czf "$staging.tar.gz" "$staging"
|
||||||
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
|
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
|
||||||
|
7
LICENSE-MIT
Normal file
7
LICENSE-MIT
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Copyright 2022 Kasper Juul Hermansen
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@ -42,4 +42,6 @@ git clone https://github.com/kjuulh/gitignore
|
|||||||
|
|
||||||
### Homebrew
|
### Homebrew
|
||||||
|
|
||||||
TBA
|
Added in HomebrewFormula
|
||||||
|
|
||||||
|
Instructions TBA
|
||||||
|
0
ci/build-dep
Normal file → Executable file
0
ci/build-dep
Normal file → Executable file
0
ci/cargo-out-dir
Normal file → Executable file
0
ci/cargo-out-dir
Normal file → Executable file
0
ci/ubuntu-install-packages
Normal file → Executable file
0
ci/ubuntu-install-packages
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user