Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cd): tag based deployments #1887

Merged
merged 3 commits into from
Feb 27, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename var to tag
  • Loading branch information
skrdgraph committed Feb 27, 2023
commit b31fe711017664f76a01a075955fbc719bc0f2d0
8 changes: 4 additions & 4 deletions .github/workflows/cd-badger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Set Badger Release Version
run: |
#!/bin/bash
GIT_BRANCH_NAME='${{ github.event.inputs.releasetag }}'
if [[ "$GIT_BRANCH_NAME" == "v"* ]];
GIT_TAG_NAME='${{ github.event.inputs.releasetag }}'
if [[ "$GIT_TAG_NAME" == "v"* ]];
then
echo "this is a release tag"
else
Expand Down Expand Up @@ -68,8 +68,8 @@ jobs:
- name: Set Badger Release Version
run: |
#!/bin/bash
GIT_BRANCH_NAME='${{ github.event.inputs.releasetag }}'
if [[ "$GIT_BRANCH_NAME" == "v"* ]];
GIT_TAG_NAME='${{ github.event.inputs.releasetag }}'
if [[ "$GIT_TAG_NAME" == "v"* ]];
then
echo "this is a release tag"
else
Expand Down