Skip to content

Commit

Permalink
Publish v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyvion committed Jul 24, 2022
1 parent bf3e21c commit 258ce1a
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 3 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- "v*"

jobs:
test:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
Expand All @@ -27,3 +27,19 @@ jobs:
with:
command: publish
args: --verbose --all-features

- name: Set Environment Variables
run: |
echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
echo "NO_PREFIX_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
- name: Create GitHub Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: https://crates.io/crates/nombytes/${{ env.NO_PREFIX_VERSION }}
draft: false
prerelease: false
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.1] - 2022-07-24

### Added ✨

- Added `serde` support

### Changed 🔧

- Updated README description
- Removed unnecessary cloning where possible

### Fixed 🐛

- Fixed minor typo in README

## [0.1.0] - 2022-07-23

### Added ✨

- Project setup
- First release

[0.1.1]: https://github.com/alexschrod/nombytes/compare/v0.1...v0.1.1
[0.1.0]: https://github.com/alexschrod/nombytes/releases/tag/v0.1
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nombytes"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
description = "A library that provides a wrapper for the bytes::Bytes byte container for use with nom"
license = "Apache-2.0 OR MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Put this in your `Cargo.toml`:

```toml
[dependencies]
nombytes = "0.1"
nombytes = "0.1.1"
```

## Features
Expand Down

0 comments on commit 258ce1a

Please sign in to comment.