Skip to content

Commit

Permalink
Merge pull request #265 from slaclab/pre-release
Browse files Browse the repository at this point in the history
Release Candidate v4.3.6
  • Loading branch information
ruck314 authored Jul 29, 2022
2 parents 0645d3b + 0f4ca2f commit b7ba46a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*.bin
*.ld
*.dat
*.htm

# Matlab
*.autosave
Expand Down
4 changes: 2 additions & 2 deletions scripts/firmwareRelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ def pushRelease(cfg, relName, relData, ver, tagAttach, prev):
oldTagExist = True
if str(tagIdx) == ver:
newTagExist = True
if not oldTagExist:
if not oldTagExist and (prev != ''):
raise(Exception(f'local repo: oldTag={prev} does NOT exist'))
if newTagExist:
raise(Exception(f'local repo: newTag={ver} already does exist'))
Expand All @@ -603,7 +603,7 @@ def pushRelease(cfg, relName, relData, ver, tagAttach, prev):
oldTagExist = True
if tagIdx.name == ver:
newTagExist = True
if not oldTagExist:
if not oldTagExist and (prev != ''):
raise(Exception(f'remote repo: oldTag={prev} does NOT exist'))
if newTagExist:
raise(Exception(f'remote repo: newTag={ver} already does exist'))
Expand Down

0 comments on commit b7ba46a

Please sign in to comment.