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 61442e4 commit 129c5ff
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:
soml (1.1.0)
soml (1.1.1)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion lib/soml/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module SOML
VERSION = '1.1.0'
VERSION = '1.1.1'
end

0 comments on commit 129c5ff

Please sign in to comment.