mirror of
https://github.com/letieu/terminal.css.git
synced 2026-03-15 02:04:30 -07:00
Bump version: v0.0.3 → v0.0.4
This commit is contained in:
@@ -14,11 +14,11 @@ Add these links to your HTML file:
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<!-- In your <head> section -->
|
<!-- In your <head> section -->
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.3/index.css" />
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.4/index.css" />
|
||||||
|
|
||||||
<!-- Before closing </body> tag -->
|
<!-- Before closing </body> tag -->
|
||||||
<!-- [Optional: Only for toast, FAQ component] -->
|
<!-- [Optional: Only for toast, FAQ component] -->
|
||||||
<script src="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.3/index.js"></script>
|
<script src="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.4/index.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
Optional: Add Tailwind CSS for layout utilities (flex, grid, spacing)
|
Optional: Add Tailwind CSS for layout utilities (flex, grid, spacing)
|
||||||
@@ -48,7 +48,7 @@ To use any component, simply:
|
|||||||
<title>My Terminal App</title>
|
<title>My Terminal App</title>
|
||||||
|
|
||||||
<!-- terminal.css Stylesheet -->
|
<!-- terminal.css Stylesheet -->
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.3/index.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.4/index.css">
|
||||||
|
|
||||||
<!-- Optional: Tailwind for layout utilities -->
|
<!-- Optional: Tailwind for layout utilities -->
|
||||||
<script src="https://cdn.tailwindcss.com"></script>
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
@@ -58,7 +58,7 @@ To use any component, simply:
|
|||||||
<button class="button is-primary">Click Me</button>
|
<button class="button is-primary">Click Me</button>
|
||||||
|
|
||||||
<!-- terminal.css JavaScript -->
|
<!-- terminal.css JavaScript -->
|
||||||
<script src="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.3/index.js"></script>
|
<script src="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.4/index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ==========================================================================
|
/* ==========================================================================
|
||||||
terminal.css - Terminal CSS Component Library v0.0.3
|
terminal.css - Terminal CSS Component Library v0.0.4
|
||||||
Bulma-style naming conventions
|
Bulma-style naming conventions
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,7 @@
|
|||||||
<div class="terminal-log-line">
|
<div class="terminal-log-line">
|
||||||
<span class="terminal-log-message"
|
<span class="terminal-log-message"
|
||||||
><link rel="stylesheet"
|
><link rel="stylesheet"
|
||||||
href="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.3/index.css"
|
href="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.4/index.css"
|
||||||
/></span
|
/></span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
<div class="terminal-log-line">
|
<div class="terminal-log-line">
|
||||||
<span class="terminal-log-message"
|
<span class="terminal-log-message"
|
||||||
><link rel="stylesheet"
|
><link rel="stylesheet"
|
||||||
href="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.3/themes/gruvbox-dark.css"
|
href="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.4/themes/gruvbox-dark.css"
|
||||||
/></span
|
/></span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
<div class="terminal-log-line">
|
<div class="terminal-log-line">
|
||||||
<span class="terminal-log-message"
|
<span class="terminal-log-message"
|
||||||
><script
|
><script
|
||||||
src="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.3/index.js"></script></span
|
src="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.4/index.js"></script></span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -222,7 +222,7 @@
|
|||||||
<div class="terminal-log-line">
|
<div class="terminal-log-line">
|
||||||
<span class="terminal-log-message">
|
<span class="terminal-log-message">
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.3/index.css"></span
|
href="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.4/index.css"></span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="terminal-log-line">
|
<div class="terminal-log-line">
|
||||||
@@ -268,7 +268,7 @@
|
|||||||
<div class="terminal-log-line">
|
<div class="terminal-log-line">
|
||||||
<span class="terminal-log-message">
|
<span class="terminal-log-message">
|
||||||
<script
|
<script
|
||||||
src="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.3/index.js"></script></span
|
src="https://cdn.jsdelivr.net/gh/letieu/terminal.css@v0.0.4/index.js"></script></span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div class="terminal-log-line">
|
<div class="terminal-log-line">
|
||||||
|
|||||||
38
release.sh
Executable file
38
release.sh
Executable file
@@ -0,0 +1,38 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# 1. Get latest git tag
|
||||||
|
oldTag=$(git describe --tags "$(git rev-list --tags --max-count=1)")
|
||||||
|
|
||||||
|
echo "Latest tag: $oldTag"
|
||||||
|
read -p "Enter new tag: " newTag
|
||||||
|
|
||||||
|
if [ -z "$newTag" ]; then
|
||||||
|
echo "New tag cannot be empty!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Updating $oldTag -> $newTag ..."
|
||||||
|
|
||||||
|
# 2. Escape dots for sed
|
||||||
|
oldTagEscaped=$(printf '%s\n' "$oldTag" | sed 's/\./\\./g')
|
||||||
|
newTagEscaped=$(printf '%s\n' "$newTag" | sed 's/\./\\./g')
|
||||||
|
|
||||||
|
# 3. Replace in files
|
||||||
|
grep -rl "$oldTag" . | xargs sed -i "s/$oldTagEscaped/$newTagEscaped/g"
|
||||||
|
|
||||||
|
echo "Files updated."
|
||||||
|
|
||||||
|
# 4. Git commit changes
|
||||||
|
git add .
|
||||||
|
git commit -m "Bump version: $oldTag → $newTag"
|
||||||
|
|
||||||
|
# 5. Create new tag
|
||||||
|
git tag "$newTag"
|
||||||
|
|
||||||
|
# 6. Push commit + tag
|
||||||
|
git push
|
||||||
|
git push origin "$newTag"
|
||||||
|
|
||||||
|
echo "Version bump complete: $oldTag → $newTag"
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
<div class="showcase-section">
|
<div class="showcase-section">
|
||||||
<h3 class="title is-5 mb-4 has-text-primary">Tags & Badges</h3>
|
<h3 class="title is-5 mb-4 has-text-primary">Tags & Badges</h3>
|
||||||
<div class="flex flex-wrap gap-2">
|
<div class="flex flex-wrap gap-2">
|
||||||
<span class="tag is-primary">v0.0.3</span>
|
<span class="tag is-primary">v0.0.4</span>
|
||||||
<span class="tag is-success">Active</span>
|
<span class="tag is-success">Active</span>
|
||||||
<span class="tag is-danger is-active">Error</span>
|
<span class="tag is-danger is-active">Error</span>
|
||||||
<span class="tag is-warning is-active">Beta</span>
|
<span class="tag is-warning is-active">Beta</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user