diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28b5d01..916216a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -117,15 +117,15 @@ jobs: env: VERSION: ${{ needs.version.outputs.fullSemVer }} run: | - sed -i "s/^ \* Version:.*/ * Version: ${VERSION}/" ipquery.php - sed -i "s/define( 'IPQUERY_VERSION',[^)]*)/define( 'IPQUERY_VERSION', '${VERSION}' )/" ipquery.php + sed -i "s/^ \* Version:.*/ * Version: ${VERSION}/" stracini-visitor-analytics.php + sed -i "s/define( 'SVA_VERSION',[^)]*)/define( 'SVA_VERSION', '${VERSION}' )/" stracini-visitor-analytics.php sed -i "s/^Stable tag:.*/Stable tag: ${VERSION}/" readme.txt - name: Commit version bump, tag, and push env: VERSION: ${{ needs.version.outputs.fullSemVer }} run: | - git add ipquery.php readme.txt + git add stracini-visitor-analytics.php readme.txt # Commit only when the version files actually changed. git diff --cached --quiet \ || git commit -m "chore: bump version to ${VERSION} [skip ci]" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a9b590d..e9f182c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,12 +71,12 @@ jobs: - name: Stage plugin under its slug directory run: | - mkdir -p /tmp/ipquery - git archive HEAD | tar -x -C /tmp/ipquery + mkdir -p /tmp/stracini-visitor-analytics + git archive HEAD | tar -x -C /tmp/stracini-visitor-analytics - name: Run WordPress Plugin Check uses: wordpress/plugin-check-action@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} wp-version: 'latest' - build-dir: /tmp/ipquery + build-dir: /tmp/stracini-visitor-analytics diff --git a/README.md b/README.md index e707937..649a4d6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
| @@ -100,22 +100,22 @@ | ||||||
|---|---|---|---|---|---|---|
-
-
+ |
- - | 0 ? esc_html( round( ( $ipquery_row['visits'] / $ipquery_total_visits ) * 100, 1 ) ) . '%' : '—'; ?> | ++ | 0 ? esc_html( round( ( $sva_row['visits'] / $sva_total_visits ) * 100, 1 ) ) . '%' : '—'; ?> | ||
| @@ -139,23 +139,23 @@ | ||||||
|---|---|---|---|---|---|---|
| + |
-
-
+ |
- - | 0 ? esc_html( round( ( $ipquery_row['visits'] / $ipquery_total_visits ) * 100, 1 ) ) . '%' : '—'; ?> | ++ | 0 ? esc_html( round( ( $sva_row['visits'] / $sva_total_visits ) * 100, 1 ) ) . '%' : '—'; ?> | |