Skip to content

Commit

Permalink
Release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed May 5, 2020
1 parent 0ea4c1d commit 56ac77c
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 228 deletions.
71 changes: 45 additions & 26 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- master
tags:
- 'v*.*.*'
- "v*.*.*"

jobs:
formatting:
Expand Down Expand Up @@ -57,7 +57,6 @@ jobs:
command: clippy
args: -- -D warnings


check:
name: Check
runs-on: ubuntu-latest
Expand Down Expand Up @@ -115,21 +114,21 @@ jobs:
toolchain: stable
override: true

cargo_publish:
if: startsWith(github.ref, 'refs/tags/v')
name: Publish Cargo Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo login $CRATES_IO_TOKEN
- run: cargo publish
env:
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
# cargo_publish:
# if: startsWith(github.ref, 'refs/tags/v')
# name: Publish Cargo Package
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: stable
# override: true
# - run: cargo login $CRATES_IO_TOKEN
# - run: cargo publish
# env:
# CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}

github_build:
if: startsWith(github.ref, 'refs/tags/v')
Expand Down Expand Up @@ -169,7 +168,7 @@ jobs:

- name: Install musl tools
if: matrix.target == 'x86_64-unknown-linux-musl'
run: sudo apt-get install -y musl-tools
run: sudo apt-get install -y musl-tools libssl-dev

- name: Build target
if: matrix.target != 'x86_64-unknown-linux-musl'
Expand Down Expand Up @@ -213,20 +212,40 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Download build artifacts
uses: actions/download-artifact@v2
- name: Download Linux GNU artifact
uses: actions/download-artifact@v1
with:
name: git-ignore-x86_64-unknown-linux-gnu.tar.gz
path: .

- name: Download Linux MUSL artifact
uses: actions/download-artifact@v1
with:
name: git-ignore-x86_64-unknown-linux-musl.tar.gz
path: .

- name: Download Darwin artifact
uses: actions/download-artifact@v1
with:
name: git-ignore-x86_64-apple-darwin.tar.gz
path: .

- name: Download Windows artifact
uses: actions/download-artifact@v1
with:
name: git-ignore-x86_64-pc-windows-msvc.zip
path: .

- name: Print directory
run: ls -R

- name: Create GitHub release ${{ matrix.target }}
uses: softprops/action-gh-release@v1
with:
files: |
git-ignore-x86_64-unknown-linux-gnu.tar.gz
git-ignore-x86_64-unknown-linux-gnu.tar.gz.sha256
git-ignore-x86_64-unknown-linux-musl.tar.gz
git-ignore-x86_64-unknown-linux-musl.tar.gz.sha256
git-ignore-x86_64-apple-darwin.tar.gz
git-ignore-x86_64-apple-darwin.tar.gz.sha256
git-ignore-x86_64-pc-windows-msvc.zip
git-ignore-x86_64-pc-windows-msvc.zip.sha256
git-ignore-x86_64-unknown-linux-gnu.tar.gz
git-ignore-x86_64-unknown-linux-musl.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## 1.1.0
> 2020-05-04
The first minor release of `git-ignore`, this is mostly a behind-the-scenes
upgrade where nothing should really affect you. In the background we've gone
from using `reqwest` to using `attohtppc` for managing our requests, primarily
to reduce dependencies and binary size. Other than that we've also simplified
some code and moved to using GitHub Actions as our CI instead of a combination
of Travis CI and Appveyor.

* [[`0ea4c1d5b1`](https://github.com/sondr3/git-ignore/commit/0ea4c1d5b1)] - Remove TravisCI, AppVeyor badges, add GitHub Actions badge
* [[`c88c331f4f`](https://github.com/sondr3/git-ignore/commit/c88c331f4f)] - Fix clippy warnings
* [[`3fcabc99cb`](https://github.com/sondr3/git-ignore/commit/3fcabc99cb)] - Move to GitHub Actions for CI
* [[`e91acece58`](https://github.com/sondr3/git-ignore/commit/e91acece58)] - Move from reqwest to attohttpc, refactor and simplify code
* [[`47a4686701`](https://github.com/sondr3/git-ignore/commit/47a4686701)] - Fix a new clippy lint
* [[`367e269b0e`](https://github.com/sondr3/git-ignore/commit/367e269b0e)] - Add download instructions for release tab \[ci skip\]

## 1.0.0
> 2019-04-19
Expand Down
Loading

0 comments on commit 56ac77c

Please sign in to comment.