Skip to content

Commit

Permalink
automating fixing tag
Browse files Browse the repository at this point in the history
  • Loading branch information
arcuri82 committed Jan 6, 2025
1 parent f14ca9b commit 697cb92
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 4 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/update_tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update Base Tag on Release

on:
release:
types:
- published

jobs:
update-tag:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Update Base Tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Extract the release tag name
TAG_NAME=${{ github.event.release.tag_name }}
echo "Updating base tag to point to release tag: $TAG_NAME"
# Fetch all branches and tags
git fetch --all
# Create or move the base tag to point to the release tag
git checkout -B v1 $TAG_NAME
# Push the updated base tag
git push origin v1 --force
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# evomaster-action
GitHub Action for running EvoMaster
# EvoMaster GitHub Action

This is a GitHub Action for running EvoMaster as part of CI.

DOCUMENTATION UNDER CONSTRUCTION



WARNING: this is work in progress. Do not use yet

## TODO Documentation under construction

0 comments on commit 697cb92

Please sign in to comment.