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

[MISC] Version check test #8

Merged
merged 1 commit into from
Aug 28, 2024
Merged

[MISC] Version check test #8

merged 1 commit into from
Aug 28, 2024

Conversation

dragomirp
Copy link
Contributor

@dragomirp dragomirp commented Aug 27, 2024

Port of canonical/charmed-postgresql-snap#45

  • Enable renovate
  • Add poetry
  • Add version checker test

with open("snap/snapcraft.yaml") as file:
snapcraft = yaml.safe_load(file)
snap_version = snapcraft['version']
app_version = ".".join(subprocess.check_output([f"{snapcraft['name']}.pgbouncer", "--version"]).decode().split()[1].split(".")[:-1])
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't set the patch version in the snapcraft.yaml

@dragomirp dragomirp marked this pull request as ready for review August 27, 2024 21:03
@dragomirp dragomirp requested review from a team, taurus-forever, marceloneppel and lucasgameiroborges and removed request for a team August 27, 2024 21:03
Copy link

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dragomirp dragomirp merged commit bf6207a into 1/edge Aug 28, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants