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

feat: 58 automate feature tracking #474

Closed
wants to merge 13 commits into from

Conversation

jdutchak
Copy link
Contributor

@jdutchak jdutchak commented Aug 2, 2024

Description

This PR fixes # adding more inputs to discord channel message call

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

theMultitude and others added 13 commits July 22, 2024 16:36
Version is now being accessed from git context and stored with getVersion in pkg/config/app.go.  I added some formatting to ensure we the version had 3 characters.  Currently pulling from git gives 0.5 which fails while 0.5.0 is successful.

Also modified the dockerfile to give appropriate context and permissions within the docker container.
Makefile and Dockerfile modified to inject VERSION during build.

Also added docker-build and docker-compose-up commands to makefile for more streamlined commands.

Chanted Version to var type to enable setting during build.

within setDefaultConfig Version is formatted and reset with viper.

Version is then explicitly set to AppConfig instance.
Modified makefile to remove @go mod tidy and add a set-version component which saves the version to VERSION in an internal folder on build

I removed formatVersion function as it became unnecessary after fixing some GetInstance calls.

Modified the dockerfile to add VERSION file and utilize make build command.

modified components.go within masa-node-cli to dynamically pull and utilize the internal VERSION.
version will be added or replaced on each build/run
Added version.go to store Version

modified Makefile to utilize ldflags for injection

Removed getVersion function and simply imported internal/constants to set the Version

Adjusted client and docker files to import Version correctly
removed explicit COPY
@jdutchak jdutchak requested a review from theMultitude August 2, 2024 15:05
@theMultitude
Copy link
Contributor

@jdutchak I need to remake this pull request since this isn't a clean branch. Will circle back.

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.

2 participants