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

Fix/remote prodia v2 image #45

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
384 commits
Select commit Hold shift + click to select a range
8482032
added confirmation and tag from subscript
Nov 6, 2024
8926576
update env.TAG_NAME reference in build.yml
Nov 6, 2024
75c6837
Merge pull request #238 from Lumerin-protocol/env-full-doc
abs2023 Nov 6, 2024
31ab99b
Merge pull request #237 from Lumerin-protocol/feat/close-session-user…
abs2023 Nov 6, 2024
fe897b7
fix: session repo with caching
shev-titan Nov 6, 2024
b7aa4d3
fix: drop ethereum hdwallet
shev-titan Nov 6, 2024
ec98dba
test: correct derivation
shev-titan Nov 7, 2024
813d40a
Merge pull request #241 from Lumerin-protocol/proxy/fix-derivation
shev-titan Nov 7, 2024
69c4dcc
fix: maintain model-session index
shev-titan Nov 7, 2024
8fd5eaa
Merge pull request #240 from Lumerin-protocol/proxy/bid-cache
shev-titan Nov 7, 2024
749ba8b
Fixed missed parts
bohdan-titan Nov 7, 2024
13225e8
Merge pull request #242 from Lumerin-protocol/fix/small-ui-2
shev-titan Nov 7, 2024
d672584
feat: close session on prompt failover
alex-sandrk Nov 7, 2024
e796881
Merge pull request #243 from Lumerin-protocol/feat/failover-2
alex-sandrk Nov 7, 2024
ed1873f
fix: get session from repo when close with user report
alex-sandrk Nov 10, 2024
2111bc5
Added localhost to default public url
bohdan-titan Nov 10, 2024
32ebe84
handled case with double dots
bohdan-titan Nov 10, 2024
a3b16fa
add 'standard' to stats storage
FedokDL Nov 11, 2024
7dbf309
fix H-1
FedokDL Nov 11, 2024
cc8668e
fix M-1
FedokDL Nov 11, 2024
ec2f394
fix L-1
FedokDL Nov 11, 2024
e09a68b
feat: session auto close
alex-sandrk Nov 11, 2024
4001071
Merge pull request #247 from Lumerin-protocol/feature/auto-close
abs2023 Nov 11, 2024
5808a6a
Merge pull request #246 from Lumerin-protocol/fix/user-report-close
abs2023 Nov 11, 2024
6534aa8
refator: run expiry handler in proxy goroutine
alex-sandrk Nov 11, 2024
fcd4ffb
Merge pull request #245 from Lumerin-protocol/feature/config-public-url
abs2023 Nov 11, 2024
40b65a5
set draft=true on all but pushes to main
Nov 11, 2024
81c7ec3
Merge pull request #249 from Lumerin-protocol/fix-stg-release-draft
LumerinIO Nov 11, 2024
f68f393
Merge pull request #248 from Lumerin-protocol/feature/auto-close
alex-sandrk Nov 11, 2024
89aa412
set to pre-release (not draft) which is what was intended
Nov 11, 2024
9f35638
Merge pull request #251 from Lumerin-protocol/fix-stg-release-draft
abs2023 Nov 11, 2024
d6036d4
implement delegation functionality
FedokDL Nov 12, 2024
2c6527a
feat: initial implementation
shev-titan Nov 12, 2024
4c3b1e2
feat: abstract chat message format
shev-titan Nov 12, 2024
3d11184
add length to te pagination results
FedokDL Nov 13, 2024
6cb661e
fix: chat persistence and response headers
shev-titan Nov 13, 2024
43ed950
fix: missing history.go param injection
shev-titan Nov 13, 2024
13d75e4
fix: set models-config.json defaults to match our bundled package
shev-titan Nov 13, 2024
1616d1c
fix: remove unused OPENAI_BASE_URL
shev-titan Nov 13, 2024
a541fc1
fix: bool pointer env var defaulting
shev-titan Nov 13, 2024
77904d3
fix: avoid mutation on AppendChatHistory
shev-titan Nov 13, 2024
a0ad6b0
fix: send actual message to prodia
alex-sandrk Nov 13, 2024
cb430dc
remove console.log
FedokDL Nov 13, 2024
83445c1
remove console.log
FedokDL Nov 13, 2024
694c13b
Removed useless public
bohdan-titan Nov 13, 2024
c787a62
Changed global scrolls
bohdan-titan Nov 13, 2024
c290d88
Fixed issue with bid creation
bohdan-titan Nov 13, 2024
42fb693
Fixed pottential issue with connectivity
bohdan-titan Nov 13, 2024
5c42720
Merge pull request #253 from Lumerin-protocol/proxy/adapters
shev-titan Nov 14, 2024
5c63e65
Fixed issue with sessions
bohdan-titan Nov 14, 2024
68544a1
Optimization
bohdan-titan Nov 14, 2024
f8f9019
review
bohdan-titan Nov 14, 2024
ef146de
Merge pull request #254 from Lumerin-protocol/fix/bid-session-issues
bohdan-titan Nov 14, 2024
5cd5b51
fix: failover timeout + handling
alex-sandrk Nov 14, 2024
86707bf
remove console.log
alex-sandrk Nov 14, 2024
bd134f8
Merge pull request #255 from Lumerin-protocol/fix/failover-v2
alex-sandrk Nov 14, 2024
195fb3e
feat: enable multicall3
shev-titan Nov 14, 2024
f67c840
Merge pull request #257 from Lumerin-protocol/proxy/multicall3
shev-titan Nov 14, 2024
a2a8953
Merge branch 'dev' into proxy/delegation
shev-titan Nov 14, 2024
8cef3d6
feat: update bindings for delegation feature
shev-titan Nov 14, 2024
df35825
Changed local models
bohdan-titan Nov 14, 2024
7bc28c9
fix: close only own session; check if already closed
alex-sandrk Nov 15, 2024
a79956c
Merge pull request #260 from Lumerin-protocol/fix/auto-close-session
alex-sandrk Nov 15, 2024
53118f9
Merge pull request #259 from Lumerin-protocol/feature/local-models
bohdan-titan Nov 15, 2024
c26cf50
feat: check provider availability
alex-sandrk Nov 15, 2024
1372141
Merge pull request #261 from Lumerin-protocol/feat/failover-availabil…
alex-sandrk Nov 15, 2024
b827951
Merge branch 'morpheus-delegation' into proxy/pagination
shev-titan Nov 15, 2024
441c42a
feat: enable ordering for pagination
shev-titan Nov 15, 2024
9cd996f
Merge pull request #258 from Lumerin-protocol/proxy/delegation
shev-titan Nov 15, 2024
bf13756
update with "delegate" version of testnet contract and prepare mainne…
Nov 15, 2024
5a62ac8
updated with Mainnet Contract (0xDE81...C71b)
Nov 15, 2024
aa54419
Merge pull request #263 from Lumerin-protocol/punchlist-prerelease
abs2023 Nov 15, 2024
84372db
fix: default polling interval
shev-titan Nov 18, 2024
1210ca3
chore: loggging of failures
shev-titan Nov 18, 2024
97cb743
Added default config
bohdan-titan Nov 18, 2024
2f56905
feat: direct payment
shev-titan Nov 18, 2024
c4f5bd7
fix: handle explorer api rate limit response, implement retry policy
shev-titan Nov 18, 2024
93c4c92
Merge pull request #267 from Lumerin-protocol/proxy/chore-logging
abs2023 Nov 18, 2024
025adcb
Merge pull request #268 from Lumerin-protocol/feature/failover-env
abs2023 Nov 18, 2024
5f469ce
Merge pull request #270 from Lumerin-protocol/fix/polling-interval
abs2023 Nov 18, 2024
17ff868
Merge pull request #271 from Lumerin-protocol/proxy/fix-explorer-api-…
abs2023 Nov 18, 2024
b73d592
Merge pull request #262 from Lumerin-protocol/proxy/pagination
abs2023 Nov 18, 2024
0bc9e63
fix: icon
shev-titan Nov 18, 2024
64a3378
feat: change icon, rename app
shev-titan Nov 18, 2024
34dbda1
add python setuptools
shev-titan Nov 18, 2024
373490b
feat: update icon
shev-titan Nov 18, 2024
ed307c7
Pass symbol
bohdan-titan Nov 18, 2024
4ec022a
Changed env variable name
bohdan-titan Nov 18, 2024
6447880
Merge pull request #273 from Lumerin-protocol/wallet/build-resources
shev-titan Nov 19, 2024
56c6c5e
Merge pull request #274 from Lumerin-protocol/feature/pass-coin-symbol
shev-titan Nov 19, 2024
44e59e0
Merge pull request #269 from Lumerin-protocol/proxy/direct-payment
abs2023 Nov 19, 2024
4e9878e
fix: direct payment
shev-titan Nov 19, 2024
899fdeb
fix: direct payment invalid passed arg
shev-titan Nov 19, 2024
5cf5648
fix: return real model id after creation
alex-sandrk Nov 19, 2024
0223019
Merge branch 'dev' of github.com:Lumerin-protocol/Morpheus-Lumerin-No…
alex-sandrk Nov 19, 2024
59fa0d0
remove space in app name for pathing issues
Nov 19, 2024
7e1d494
Merge pull request #276 from Lumerin-protocol/proxy/direct-payment
abs2023 Nov 19, 2024
c90f69b
Merge pull request #278 from Lumerin-protocol/fix-desktopname
abs2023 Nov 19, 2024
c09e3ae
Merge pull request #277 from Lumerin-protocol/fix/model-id
abs2023 Nov 19, 2024
5972c9a
update lumerin.io copyright with mor.org
Nov 19, 2024
7c3bfd1
unset version update that broke build
Nov 19, 2024
224cdbd
Merge pull request #280 from Lumerin-protocol/fix-desktopname
abs2023 Nov 19, 2024
1cf7c16
docs: set prompt example in swagger
alex-sandrk Nov 20, 2024
c8af450
fix: apply retry logic for both api calls of polling cycle
shev-titan Nov 20, 2024
396b44e
update documentation for new ui name and added testnet/mainnet .env e…
Nov 20, 2024
230d4e2
extend LocalModel response
alex-sandrk Nov 20, 2024
a8b69f3
updated desktop ui defaults
Nov 20, 2024
688b5e6
Merge pull request #283 from Lumerin-protocol/fix/swagger-prompt-example
alex-sandrk Nov 20, 2024
1ecc9d7
started proxy-router troubleshooting
Nov 20, 2024
cc4d6f0
Merge pull request #285 from Lumerin-protocol/fix-envexamples
abs2023 Nov 20, 2024
7a0d317
Merge pull request #284 from Lumerin-protocol/fix/polling-retry-disco…
abs2023 Nov 20, 2024
44d76d5
expose API URL
alex-sandrk Nov 21, 2024
e8795f9
add gitlab trigger for build and doc cleanup
Nov 21, 2024
4d7b6d9
Merge pull request #287 from Lumerin-protocol/fix/swagger-prompt-example
abs2023 Nov 21, 2024
24c565a
ensure all builds and triggers only run in Lumerin-protocol fork
Nov 21, 2024
7826f77
Merge pull request #288 from Lumerin-protocol/fix-envexamples
abs2023 Nov 21, 2024
aff3575
consolidated workflow back to single file and trigger deploy after bu…
Nov 21, 2024
53e6afb
Merge pull request #290 from Lumerin-protocol/fix-envexamples
abs2023 Nov 21, 2024
f60783c
fix: invalid headers parsing
shev-titan Nov 22, 2024
4353d0e
jethro recommended changes ! origin and test on feature branch
Nov 22, 2024
d47af2b
with proper feature branch naming
Nov 22, 2024
8e6c5fe
changed stg branch actions to test and removed featurbranch triggers
Nov 22, 2024
577c88e
Merge pull request #292 from Lumerin-protocol/fix-envexamples
abs2023 Nov 22, 2024
ca74813
fixed ci actions for new branch name and updated docs
Nov 22, 2024
3a2c274
Merge pull request #293 from Lumerin-protocol/fix-envexamples
abs2023 Nov 22, 2024
8af03a8
Merge pull request #291 from Lumerin-protocol/proxy/dev-289-invalid-h…
abs2023 Nov 22, 2024
6c9bfb4
update ci-cd conditions for gitlab trigger
Nov 22, 2024
a081951
Merge pull request #294 from Lumerin-protocol/fix-envexamples
abs2023 Nov 22, 2024
5462899
updated error handling for gitlab trigger
Nov 22, 2024
6fd7b8c
Merge pull request #295 from Lumerin-protocol/fix-envexamples
LumerinIO Nov 22, 2024
d8f5603
fine tuned gitlab-trigger
Nov 22, 2024
b449407
Merge pull request #296 from Lumerin-protocol/fix-envexamples
abs2023 Nov 22, 2024
5c5b63f
add clone to enable actions
Nov 22, 2024
60e9f26
Merge pull request #297 from Lumerin-protocol/fix-envexamples
abs2023 Nov 22, 2024
81e1480
fixed json response in gitlab pipeline api
Nov 22, 2024
1a431cd
Merge pull request #298 from Lumerin-protocol/fix-envexamples
abs2023 Nov 22, 2024
4f2dfb9
final test trigger
Nov 22, 2024
0968bf9
Merge pull request #299 from Lumerin-protocol/fix-envexamples
abs2023 Nov 22, 2024
ee66afe
reset gitlab ref branch based on lookup
Nov 22, 2024
3a66308
update readme
Nov 22, 2024
fb98d68
Merge pull request #301 from Lumerin-protocol/fix-envexamples
abs2023 Nov 22, 2024
6725e1b
feat: introduce json schema for models-config.json
shev-titan Nov 25, 2024
79f7314
feat: configurable rating config
shev-titan Nov 25, 2024
e42356a
fix: update schemas with titles and basic validations
shev-titan Nov 26, 2024
9dc1bce
chore: renaming
shev-titan Nov 26, 2024
c043877
feat: stricter validation
shev-titan Nov 26, 2024
a719073
chore: logging
shev-titan Nov 26, 2024
6a58502
ci: update build
shev-titan Nov 26, 2024
2a9f8c2
docs: update docs
shev-titan Nov 26, 2024
d7ded44
docs: update schema and example
shev-titan Nov 26, 2024
39cb286
Added UI tag for chain
bohdan-titan Nov 27, 2024
c8aeaa1
Merge pull request #307 from Lumerin-protocol/feature/chain-id
bohdan-titan Nov 27, 2024
70615cf
fix: incorrect pagination when overflow
shev-titan Nov 27, 2024
f51efd4
fix: validation to paging
shev-titan Nov 27, 2024
49bcb0d
Merge pull request #308 from Lumerin-protocol/proxy/fix-pagination
bohdan-titan Nov 27, 2024
eaa30c2
added paging to some request
bohdan-titan Dec 2, 2024
862f2ae
feat: prodia video generation
alex-sandrk Dec 2, 2024
a5b0c13
Merge pull request #310 from Lumerin-protocol/feature/paging-optimiza…
bohdan-titan Dec 2, 2024
38a0d17
cicd: versioning
loonerin Nov 26, 2024
89013f7
Merge pull request #306 from Lumerin-protocol/vertag
loonerin Dec 2, 2024
60279fb
cicd: versioning patch change
loonerin Dec 2, 2024
7af14da
Merge pull request #305 from Lumerin-protocol/proxy/DEV-115-rating
shev-titan Dec 2, 2024
f470309
Merge pull request #312 from Lumerin-protocol/vertagpat
loonerin Dec 2, 2024
ffc1cd2
update docs
alex-sandrk Dec 2, 2024
2f67891
Merge branch 'dev' of github.com:Lumerin-protocol/Morpheus-Lumerin-No…
alex-sandrk Dec 2, 2024
63dce8d
Merge pull request #311 from Lumerin-protocol/feat/prodia-video
alex-sandrk Dec 2, 2024
3531a56
fix: build args, version
shev-titan Dec 2, 2024
0da9ea5
cicd: proxy: versioning
loonerin Dec 2, 2024
11d4150
updated to remove chain id from tokens
Dec 2, 2024
8a7cf98
Merge pull request #314 from Lumerin-protocol/proxyver
loonerin Dec 2, 2024
099326d
Merge pull request #315 from Lumerin-protocol/fix/tokenvars
abs2023 Dec 2, 2024
a550e7b
Merge branch 'dev' into fix/build-args
abs2023 Dec 2, 2024
4e72ee3
Merge pull request #313 from Lumerin-protocol/fix/build-args
abs2023 Dec 2, 2024
be92a1e
update defaults (all providers) for rating-config.json
Dec 2, 2024
e673023
re-add rating-config.json
Dec 2, 2024
7ddaf9c
re-added default rating-config.json to build
Dec 2, 2024
59dff31
fixed default rating value to sum to 1
Dec 2, 2024
5eb7299
added detail in docs for rating adjustment
Dec 2, 2024
a2d5873
Merge pull request #316 from Lumerin-protocol/fix/ratingdefaults
abs2023 Dec 2, 2024
83d5aad
added rating-config.json to release zip file
Dec 2, 2024
31e3926
Merge pull request #319 from Lumerin-protocol/fix-rating-configinbuild
abs2023 Dec 2, 2024
b794be3
Filtered ability to open own bid
bohdan-titan Dec 3, 2024
1fa9f9d
Covered by bid id method
bohdan-titan Dec 3, 2024
14c91b0
Merge pull request #321 from Lumerin-protocol/feature/open-own-session
bohdan-titan Dec 3, 2024
640d3da
feat: set version in swagger from build config
alex-sandrk Dec 3, 2024
5f8106e
Merge pull request #322 from Lumerin-protocol/swagger/versioning
alex-sandrk Dec 3, 2024
82b9d08
update ci-cd for electron build and artifact creation
Dec 3, 2024
0cda091
fix mac sed commaand
Dec 3, 2024
744444e
proper esacape for TAG_NAME with sed (shouldn't strip the "v" prefix)
Dec 3, 2024
8969934
more escape on ${TAG_NAME}
Dec 3, 2024
a0c1e20
replace TAG_NAME with VTAG for build steps (electron likes to remove …
Dec 3, 2024
c14b438
spell check and linux package version to x86_64 (based on electron ou…
Dec 3, 2024
b387e2e
Merge pull request #323 from Lumerin-protocol/fix/electronbuildversion
abs2023 Dec 3, 2024
495f2af
feat: improve configuration by doing startup check
shev-titan Dec 3, 2024
676eda0
chore: clean SIGINT cancellation logs
shev-titan Dec 3, 2024
21a83f9
cicd: test branch test
loonerin Dec 3, 2024
1b386f3
Merge pull request #326 from Lumerin-protocol/vertest
abs2023 Dec 3, 2024
df5b865
update build.sh to consume TAG or create from GitHub clone
Dec 3, 2024
d18a9bc
Merge pull request #328 from Lumerin-protocol/fix/proxyversionfromgit
abs2023 Dec 3, 2024
ce410c9
update so vpat included on semver in main
Dec 3, 2024
f37d68c
Merge pull request #331 from Lumerin-protocol/fix/vpatmain
abs2023 Dec 3, 2024
f0f3931
Merge pull request #324 from Lumerin-protocol/feat/DEV-128-config-che…
shev-titan Dec 4, 2024
29c3e55
reset reating-config.json.example for cloned operation
Dec 4, 2024
9d76e5f
update default ui-desktop .env.example
Dec 4, 2024
8863816
Merge pull request #335 from Lumerin-protocol/fix/resetratingconfig
abs2023 Dec 4, 2024
be231e1
pull VLAST from main regardless of working branch
Dec 4, 2024
5dfb8c1
Merge pull request #336 from Lumerin-protocol/fix/resetratingconfig
abs2023 Dec 4, 2024
04dc377
improve VLAST call
Dec 5, 2024
5681f56
docker build helper script and docs
Dec 5, 2024
14a7f6f
update to include /data instruction
Dec 5, 2024
02c0ae9
update script and doc
Dec 5, 2024
13c804e
final doc updat
Dec 5, 2024
1ffefe5
Merge pull request #338 from Lumerin-protocol/doc/cleanup
abs2023 Dec 5, 2024
0e600ff
updated gitignore
Dec 5, 2024
126e16b
udpated case for dockerfile
Dec 5, 2024
dbefcfb
Merge pull request #339 from Lumerin-protocol/doc/cleanup
abs2023 Dec 5, 2024
103293f
Optimized initial load
bohdan-titan Dec 8, 2024
07c5f1f
sessions on start
bohdan-titan Dec 8, 2024
23f290a
add temporary branch `concom` for building TEE-CC releases for custom…
Dec 9, 2024
2f3fd88
Merge pull request #345 from Lumerin-protocol/doc/cleanup
abs2023 Dec 9, 2024
91fecfe
Merge pull request #343 from Lumerin-protocol/feature/chat-optimization
bohdan-titan Dec 9, 2024
4d0a05c
fix: prodia image handling
alex-sandrk Dec 9, 2024
58f81ce
Merge pull request #347 from Lumerin-protocol/fix/dev-146
abs2023 Dec 9, 2024
1810ba7
Fixed offset issue
bohdan-titan Dec 9, 2024
6d623cc
Merge pull request #349 from Lumerin-protocol/feature/fixed-opt-bug
bohdan-titan Dec 10, 2024
cd04d25
update $VFULL var in windows build
Dec 10, 2024
ead4490
update ubuntu artifact for ${VFULL}
Dec 10, 2024
6078eaa
added mor-launch.json inspection
Dec 10, 2024
073e5c9
reset local job vfull and better escape
Dec 10, 2024
26e9ce9
fix windows artifact output
Dec 10, 2024
411db48
Merge pull request #352 from Lumerin-protocol/doc/cleanup
abs2023 Dec 10, 2024
56c2a29
Added adapter for hyperbolic-sd
bohdan-titan Dec 11, 2024
0769ac6
added default parameters
bohdan-titan Dec 11, 2024
a23a5e5
Renaming
bohdan-titan Dec 11, 2024
e0b2f30
changed param name
bohdan-titan Dec 11, 2024
333db5d
Added to UI
bohdan-titan Dec 11, 2024
3c5d61d
Changed example
bohdan-titan Dec 11, 2024
7e5e65c
added optional params for model
bohdan-titan Dec 13, 2024
9bec0a7
Fixed issue with lost id
bohdan-titan Dec 13, 2024
32d8ead
Removed logs
bohdan-titan Dec 16, 2024
c969e53
Merge pull request #356 from Lumerin-protocol/feature/hyperbolic-sd
bohdan-titan Dec 16, 2024
3b8a76c
updated package and fix warnings
bohdan-titan Dec 18, 2024
b156a6d
.
bohdan-titan Dec 18, 2024
c1d9029
refactor: logging
alex-sandrk Dec 18, 2024
fe18d10
update env example
alex-sandrk Dec 18, 2024
7904f62
Merge pull request #357 from Lumerin-protocol/feature/routing-package
bohdan-titan Dec 18, 2024
1f0c40e
Merge pull request #358 from Lumerin-protocol/feature/improve-logging
alex-sandrk Dec 18, 2024
7a89d00
fix: fallback to public nodes on DELETE ethNode
shev-titan Jan 2, 2025
d50a0a4
Merge pull request #362 from Lumerin-protocol/fix/remove-ethnode-api
shev-titan Jan 2, 2025
03e3055
handle remote prompt for prodia v2 image
alex-sandrk Jan 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .github/actions/copy_env_files/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Copy Environment Files
description: "Copies environment files based on branch"
runs:
using: "composite"
steps:
- name: Copy Environment Files
shell: bash
run: |
cp ./.github/workflows/models-config.json ./proxy-router/models-config.json
cp ./.github/workflows/models-config.json models-config.json
cp ./.github/workflows/rating-config.json ./proxy-router/rating-config.json
cp ./.github/workflows/rating-config.json rating-config.json
if [[ "${GITHUB_REF}" == "refs/heads/main" ]]; then
cp ./.github/workflows/proxy-router.main.env ./proxy-router/.env
cp ./.github/workflows/proxy-router.main.env .env
cp ./.github/workflows/ui-desktop.main.env ./ui-desktop/.env
elif [[ "${GITHUB_REF}" == "refs/heads/test" ]]; then
cp ./.github/workflows/proxy-router.test.env ./proxy-router/.env
cp ./.github/workflows/proxy-router.test.env .env
cp ./.github/workflows/ui-desktop.test.env ./ui-desktop/.env
else
cp ./.github/workflows/proxy-router.test.env ./proxy-router/.env
cp ./.github/workflows/proxy-router.test.env .env
cp ./.github/workflows/ui-desktop.test.env ./ui-desktop/.env
fi
33 changes: 33 additions & 0 deletions .github/actions/gen_tag_name/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Generate Tag Name
description: "Generates a tag name based on branch"
runs:
using: "composite"
steps:
- name: Determine tag name
id: tag
shell: bash
run: |
VMAJ=1
VMIN=0
VPAT=0
set +o pipefail
VLAST=$(git describe --tags --abbrev=0 --match='v[1-9]*' refs/remotes/origin/main 2>/dev/null | cut -c2-)
[ $VLAST ] && declare $(echo $VLAST | awk -F '.' '{print "VMAJ="$1" VMIN="$2" VPAT="$3}')
if [ "$GITHUB_REF_NAME" = "main" ]
then
VPAT=0
VMIN=$((VMIN+1))
VFULL=${VMAJ}.${VMIN}.${VPAT}
VTAG=v$VFULL
else
MB=$(git merge-base refs/remotes/origin/main HEAD)
VPAT=$(git rev-list --count --no-merges ${MB}..HEAD)
VFULL=${VMAJ}.${VMIN}.${VPAT}
RNAME=${GITHUB_REF_NAME##*/}
[ "$GITHUB_EVENT_NAME" = "pull_request" ] && RNAME=pr${GITHUB_REF_NAME%/merge}
VTAG=v${VFULL}-${RNAME}
fi
echo "VLAST=$VLAST VMAJ=$VMAJ VMIN=$VMIN VPAT=$VPAT VFULL=$VFULL VTAG=$VTAG"
echo "TAG_NAME=${VTAG}" >> $GITHUB_ENV
echo "VTAG=${VTAG}" >> $GITHUB_ENV
echo "VFULL=${VFULL}" >> $GITHUB_ENV
Loading