Skip to content

Commit

Permalink
Merge branch 'lllyasviel:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
metercai authored May 28, 2024
2 parents e4052d2 + 725bf05 commit ca30d1d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_container.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Create and publish a container image
name: Docker image build

on:
push:
branches:
- main
tags:
- 'v*'
- v*

jobs:
build-and-push-image:
Expand Down Expand Up @@ -33,6 +35,7 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=edge,branch=main
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down
2 changes: 1 addition & 1 deletion fooocus_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '2.4.0'
version = '2.4.1'
9 changes: 6 additions & 3 deletions javascript/localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,12 @@ function refresh_style_localization() {
}

function refresh_aspect_ratios_label(value) {
label = document.querySelector('#aspect_ratios_accordion div span[data-original-text="Aspect Ratios"]')
translation = getTranslation("Aspect Ratios")
label.textContent = translation + " " + htmlDecode(value)
label = document.querySelector('#aspect_ratios_accordion div span[data-original-text="Aspect Ratios"]');
translation = getTranslation("Aspect Ratios");
if (typeof translation == "undefined") {
translation = "Aspect Ratios";
}
label.textContent = translation + " " + htmlDecode(value);
}

function localizeWholePage() {
Expand Down
5 changes: 5 additions & 0 deletions update_log.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# [2.4.1](https://github.com/lllyasviel/Fooocus/releases/tag/v2.4.1)

* Fix some small bugs (e.g. adjust clip skip default value from 1 to 2, add type check to aspect ratios js update function)
* Add automated docker build on push to main, tagged with `edge`. See [available docker images](https://github.com/lllyasviel/Fooocus/pkgs/container/fooocus).

# [2.4.0](https://github.com/lllyasviel/Fooocus/releases/tag/v2.4.0)

* Change settings tab elements to be more compact
Expand Down

0 comments on commit ca30d1d

Please sign in to comment.