-
Notifications
You must be signed in to change notification settings - Fork 13
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
Added the version info #217
Conversation
alaGarbey675
commented
Oct 8, 2024
- Made the "in progress" status color lighter.
- Added the version of the application
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.23 to 1.14.24. - [Release notes](https://github.com/mattn/go-sqlite3/releases) - [Commits](mattn/go-sqlite3@v1.14.23...v1.14.24) --- updated-dependencies: - dependency-name: github.com/mattn/go-sqlite3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit also contains an update on the intensity of the orange color for the 'in progress' status.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added some comments
can we also
- make these to be size
text-xs
(tailwind)cheek/pkg/web_assets/templates/base.html
Line 38 in abdddf7
<template x-for="job in $store.jobs.jobs"> - add the ci logic to set the build flags for the version/sha at buildtime
Thanks!
build flags : go build -ldflags="-X 'github.com/datarootsio/cheek/pkg.Version=${{ needs.version_tag.outputs.new_tag }}' -X 'github.com/datarootsio/cheek/pkg.CommitSHA=${{ steps.vars.outputs.sha_short }}'" |
.github/workflows/ci.yml
Outdated
@@ -86,7 +86,7 @@ jobs: | |||
- id: vars | |||
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | |||
- run: mkdir -p ${{ matrix.goos }}/${{ matrix.goarch }} | |||
- run: env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-X 'github.com/datarootsio/cheek/pkg.Version=${{ steps.vars.outputs.sha_short }}'" -o ${{ matrix.goos }}/${{ matrix.goarch }} | |||
- run: env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-X 'github.com/datarootsio/cheek/pkg.Version=${{ steps.vars.outputs.sha_short }}' -X 'github.com/datarootsio/cheek/pkg.CommitSHA=${{ steps.vars.outputs.sha_short }}'" -o ${{ matrix.goos }}/${{ matrix.goarch }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will set both values to the commit has (sha), but the pkg.Version
so be something like needs.version_tag.outputs.new_tag
, right?
…/mattn/go-sqlite3-1.14.24' into adding-in-progress-status
Thank you @alaGarbey675 🙌 |