Skip to content

Commit

Permalink
Update release.py
Browse files Browse the repository at this point in the history
  • Loading branch information
narknon authored Dec 30, 2024
1 parent 2121dad commit 7b9e340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/buildscripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def modify_changelog(self):

def package_release(self):
try:
version = subprocess.check_output(['git', 'describe', '--tags']).decode('utf-8').strip()
version = subprocess.check_output(['git', 'describe', '--tags', '--exclude', '*experimental*']).decode('utf-8').strip()
except subprocess.CalledProcessError:
print('Error: git describe failed. Make sure the release has been tagged.')
sys.exit(1)
Expand Down Expand Up @@ -339,4 +339,4 @@ def github_output(name, value):
}
]
}
"""
"""

0 comments on commit 7b9e340

Please sign in to comment.