Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Bump versions now that Tailwind CSS v4.0 is out
Also, bump old version used to test updates.
It might help if GitHub does any sort of caching of release assets.
  • Loading branch information
aptinio committed Jan 25, 2025
commit c4a157159688323a4ad47de0585df1ac49873d2c
2 changes: 1 addition & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Config

config :tailwind,
version: "4.0.0-beta.3",
version: "4.0.0",
another: [
args: ["--help"]
]
2 changes: 1 addition & 1 deletion lib/tailwind.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defmodule Tailwind do
# https://github.com/tailwindlabs/tailwindcss/releases
@latest_version "4.0.0-beta.3"
@latest_version "4.0.0"

@moduledoc """
Tailwind is an installer and runner for [tailwind](https://tailwindcss.com/).
Expand Down
4 changes: 2 additions & 2 deletions test/tailwind_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ defmodule TailwindTest do
end

test "updates on install" do
Application.put_env(:tailwind, :version, "3.0.3")
Application.put_env(:tailwind, :version, "3.4.17")
Mix.Task.rerun("tailwind.install", ["--if-missing"])

assert ExUnit.CaptureIO.capture_io(fn ->
assert Tailwind.run(:default, ["--help"]) == 0
end) =~ "3.0.3"
end) =~ "3.4.17"

Application.delete_env(:tailwind, :version)

Expand Down