Sha256: 37530fcf545177469caf8e123580aeb4c6db70859aab90badfd431b33c94db9d

Contents?: true

Size: 1.29 KB

Versions: 31

Compression:

Stored size: 1.29 KB

Contents

on:
  push:
    tags: # triggered once a git tag is published
      - '*'

name: Create Release

jobs:
  build:
    name: Create Release
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
        with:
          fetch-depth: 0

      # Changelog action adaptations
      - name: Create required package.json
        run: test -f package.json || echo '{}' >package.json
      - name: Detect Previous Tag (action not detecting very well)
        run: echo "::set-output name=previous_tag::$(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`)"
        id: tag_checker

      - name: Generate Changelog
        uses: scottbrenner/generate-changelog-action@master
        id: Changelog
        with:
          from-tag: ${{steps.tag_checker.outputs.previous_tag}}
          to-tag: HEAD

      - name: Create Release
        id: create_release
        uses: actions/create-release@latest
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
        with:
          tag_name: ${{ github.ref }}
          release_name: Release ${{ github.ref }}
          body: |
            ${{ steps.Changelog.outputs.changelog }}
          draft: false
          prerelease: false

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
buddy_translatable-1.1.2 .github/workflows/release.yml
buddy_translatable-1.1.1 .github/workflows/release.yml
buddy_translatable-1.1.0 .github/workflows/release.yml
pub_sub_model_sync-1.7.0 .github/workflows/release.yml
pub_sub_model_sync-1.6.4 .github/workflows/release.yml
pub_sub_model_sync-1.6.3 .github/workflows/release.yml
pub_sub_model_sync-1.6.2 .github/workflows/release.yml
pub_sub_model_sync-1.6.1 .github/workflows/release.yml
pub_sub_model_sync-1.6.1pre .github/workflows/release.yml
pub_sub_model_sync-1.6.0 .github/workflows/release.yml
pub_sub_model_sync-1.5.1pre .github/workflows/release.yml
activestorage-delayed-0.3.0 .github/workflows/release.yml
pub_sub_model_sync-1.5.0 .github/workflows/release.yml
activestorage-delayed-0.2.0 .github/workflows/release.yml
activestorage-delayed-0.2.0.pre.pre .github/workflows/release.yml
activestorage-delayed-0.1.4 .github/workflows/release.yml
activestorage-delayed-0.1.3 .github/workflows/release.yml
activestorage-delayed-0.1.2 .github/workflows/release.yml
activestorage-delayed-0.1.1 .github/workflows/release.yml
pub_sub_model_sync-1.4.0 .github/workflows/release.yml