Skip to content

Commit

Permalink
Release v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
crdx committed Mar 29, 2024
1 parent 4053916 commit 2865674
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Deploy

on:
push:
tags:
- 'v*'

permissions: write-all

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Get version
run: |
git fetch --unshallow
git fetch origin --tags --force
OLD_VERSION=$(git describe --tags --abbrev=0 --match "v*" ${{ github.ref }}^)
echo "OLD_VERSION=$OLD_VERSION" >> $GITHUB_ENV
- name: Find commits since previous version
run: |
{
echo 'MESSAGES<<EOF'
git --no-pager log ${{ env.OLD_VERSION }}..${{ github.ref }} --pretty=format:"- %s" --reverse
echo
echo EOF
} >> "$GITHUB_ENV"
- name: Create draft release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: ${{ env.MESSAGES }}
draft: true
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
enparallel-bin (1.1.0)
enparallel-bin (1.1.1)
colorize (~> 0.8.1)
docopt (~> 0.6.1)
json (~> 2.7)
Expand Down
2 changes: 1 addition & 1 deletion lib/enparallel/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Enparallel
VERSION = '1.1.0'
VERSION = '1.1.1'
end

0 comments on commit 2865674

Please sign in to comment.