Skip to content

Commit

Permalink
add time to version
Browse files Browse the repository at this point in the history
  • Loading branch information
onemen committed Mar 6, 2024
1 parent 02ac5e5 commit c11928c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Firefox Extension XPI
name: dev-build

on:
push:
Expand All @@ -18,10 +18,10 @@ jobs:
fetch-depth: 0
ref: main

- name: set version in install.rdf
- name: Set version in install.rdf
run: |
version=$(git tag --sort=-creatordate | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+' | head -n 1 | cut -c 2-)
date=$(date +'%Y%m%d')
date=$(date +'%Y%m%d.%H%M')
sed -i "s/1.0.0-unbundeled/$version-$date/" addon/install.rdf
- name: Zip addon folder
Expand Down

0 comments on commit c11928c

Please sign in to comment.