Skip to content

Commit

Permalink
feat(cross): tag makes releases
Browse files Browse the repository at this point in the history
- It is important for people to be able to pin
  their makes version, with this we walk
  towards that goal
  • Loading branch information
kamadorueda committed Jul 6, 2021
1 parent c70dd83 commit b728f84
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
COMMIT_MESSAGE: "feat(doc): update table of contents"
COMMIT_NAME: Fluid Attacks
TOC_TITLE: "# Contents"
releaseGitHubAction:
releaseGitHub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -17,8 +17,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }}
with:
root: ./action.yaml
regex_pattern: "Version: (.*)"
root: ./README.md
regex_pattern: "# Makes v(.*)"
- uses: actions/create-release@v1
if: ${{ steps.tag.outputs.tagcreated == 'yes' }}
env:
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Makes
# Makes v21.06

A SecDevOps framework
powered by [Nix][NIX].
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
- uses: actions/checkout@v2
# We offer this GitHub action in the following versions:
# main: latest release (example: /makes@main)
# action-vYY.MM: monthly release (example: /makes@action-v21.06)
# yy.mm: monthly release (example: /makes@21.07)
- uses: fluidattacks/makes@main
# You can use any name you like here
name: helloWorld
Expand Down Expand Up @@ -501,9 +501,15 @@ doSomethingAndReturnADerivation
- [ISORT]: https://github.com/PyCQA/isort
[isort][ISORT]

- [LINUX]: https://en.wikipedia.org/wiki/Linux
[Linux][LINUX]

- [NIX]: https://nixos.org
[Nix][NIX]

- [NIX_DERIVATION]: https://nixos.org/manual/nix/unstable/expressions/derivations.html
[Nix Derivation][NIX_DERIVATION]

- [NIX_DOWNLOAD]: https://nixos.org/download
[Nix Download Page][NIX_DOWNLOAD]

Expand Down
5 changes: 1 addition & 4 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Below line will be used for tagging the release, bump if needed
# Mark pre-releases as -pre$num
# Version: action-v21.08-pre1
author: Fluid Attacks
branding:
icon: check-circle
Expand All @@ -16,5 +13,5 @@ runs:
- bash
- -c
- set -x && ${INPUT_ARGS}
image: docker://ghcr.io/fluidattacks/makes:21.07
image: docker://ghcr.io/fluidattacks/makes:21.06
using: docker

0 comments on commit b728f84

Please sign in to comment.