All Projects → WyriHaximus → Github Action Get Previous Tag

WyriHaximus / Github Action Get Previous Tag

Licence: mit
Get the previous tag

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Github Action Get Previous Tag

action-autotag
Automatically generate a new tag when the manifest file (package.json, Dockerfile, custom file, etc) version changes.
Stars: ✭ 45 (+7.14%)
Mutual labels:  tag, action
Github Action Markdown Link Check
Check all links in markdown files if they are alive or dead. 🔗✔️
Stars: ✭ 132 (+214.29%)
Mutual labels:  hacktoberfest, action
Toktok
Typo/error resilient, human-readable token generator
Stars: ✭ 40 (-4.76%)
Mutual labels:  hacktoberfest
Algorithms
🍣 Implementations of fundamental algorithms and data structures. Happy Hacktoberfest!
Stars: ✭ 41 (-2.38%)
Mutual labels:  hacktoberfest
Docker Hy.github.io
DevOps with Docker course by the University of Helsinki, Course material
Stars: ✭ 41 (-2.38%)
Mutual labels:  hacktoberfest
Sorry Cypress
An open-source, on-premise, self-hosted alternative to Cypress Dashboard
Stars: ✭ 1,005 (+2292.86%)
Mutual labels:  hacktoberfest
Library
Multi-format 1D/2D barcode image processing library, usable in JavaScript ecosystem.
Stars: ✭ 1,006 (+2295.24%)
Mutual labels:  hacktoberfest
Yfpy
Python API wrapper for the Yahoo Fantasy Sports public API (focuses mainly on NFL, but also supports some usage with NHL, MLB, and NBA).
Stars: ✭ 40 (-4.76%)
Mutual labels:  hacktoberfest
Th Digital Survival
คลังข้อมูลวิธีการเอาตัวรอดด้วยอุปกรณ์ดิจิตอล
Stars: ✭ 42 (+0%)
Mutual labels:  hacktoberfest
Ibmi Oss Examples
A set of examples for using open source tools on IBM i
Stars: ✭ 41 (-2.38%)
Mutual labels:  hacktoberfest
Pmbootstrap
Repository has been moved! https://postmarketos.org/move.html#/pmbootstrap 🚚 🚚 🚚
Stars: ✭ 1,010 (+2304.76%)
Mutual labels:  hacktoberfest
Programming Notes
Semua catatan tentang teknologi dan development 😎
Stars: ✭ 41 (-2.38%)
Mutual labels:  hacktoberfest
Arashidns.aoi
Simple DNS over HTTPS Server
Stars: ✭ 41 (-2.38%)
Mutual labels:  hacktoberfest
Httpreports
HttpReports is an APM (application performance monitor) system for .Net Core.
Stars: ✭ 1,009 (+2302.38%)
Mutual labels:  hacktoberfest
Gr Bokehgui
Web based display for GNU Radio applications
Stars: ✭ 39 (-7.14%)
Mutual labels:  hacktoberfest
Javascript Mini Projects
Awesome Collection of amazing javascript mini-projects.
Stars: ✭ 42 (+0%)
Mutual labels:  hacktoberfest
Fuzzy C Means
A simple python implementation of Fuzzy C-means algorithm.
Stars: ✭ 40 (-4.76%)
Mutual labels:  hacktoberfest
Friendly Exception
An interface for an exception to be friendly
Stars: ✭ 41 (-2.38%)
Mutual labels:  hacktoberfest
Toolkit For Ynab
A general purpose YNAB enhancing browser extension for Chrome and Firefox. Have it your way!
Stars: ✭ 1,006 (+2295.24%)
Mutual labels:  hacktoberfest
Laminas Mail
Provides generalized functionality to compose and send both text and MIME-compliant multipart e-mail messages
Stars: ✭ 42 (+0%)
Mutual labels:  hacktoberfest

Get previous tag

Release GitHub release (latest SemVer)

Github Action that gets the latest tag from git

Example output showing this action in action

Output

This action has only one output, namely, tag for the latest tag this action finds. When no tag is found or another error occurs it exits with code 1.

Example

Find more examples in the examples directory.

The following example works together with the WyriHaximus/github-action-next-semvers and WyriHaximus/github-action-create-milestone actions. Where it provides the previous tag from that action so it can supply a set of versions for the next action, which creates a new milestone. (This snippet has been taken from the automatic code generation of wyrihaximus/fake-php-version.)

name: Generate
jobs:
  generate:
    steps:
      - uses: actions/[email protected]
        with:
          fetch-depth: 0
      - name: 'Get Previous tag'
        id: previoustag
        uses: "WyriHaximus/[email protected]"
      - name: 'Get next minor version'
        id: semvers
        uses: "WyriHaximus/[email protected]"
        with:
          version: ${{ steps.previoustag.outputs.tag }}
      - name: 'Create new milestone'
        id: createmilestone
        uses: "WyriHaximus/[email protected]"
        with:
          title: ${{ steps.semvers.outputs.patch }}
        env:
          GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

License

Copyright 2019 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].