diff --git a/.github/workflows/docker_prod.yml b/.github/workflows/docker_prod.yml index 56ae6ef5..0df47f81 100755 --- a/.github/workflows/docker_prod.yml +++ b/.github/workflows/docker_prod.yml @@ -46,6 +46,14 @@ jobs: type=ref,event=branch,suffix=-{{ sha }} type=ref,event=pr type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }} + - uses: actions/checkout@master + + - name: Update version + uses: brettdorrans/write-version-to-file@master + with: + filename: '/.VERSION' + placeholder: '${VERSION}' + - name: Login to DockerHub if: github.event_name != 'pull_request' uses: docker/login-action@v2 diff --git a/front/php/templates/footer.php b/front/php/templates/footer.php index a0f2b313..8e854e66 100755 --- a/front/php/templates/footer.php +++ b/front/php/templates/footer.php @@ -13,9 +13,33 @@ © - - 2020 Puche (2022+ jokob-sk) - Buildtime: - Version + + + 2020 Puche (2022+ jokob-sk) | Built on: + + + + | Version: + + + | Docs @@ -57,6 +81,9 @@ + diff --git a/front/plugins/snmp_discovery/config.json b/front/plugins/snmp_discovery/config.json index a516e233..65c9d20d 100755 --- a/front/plugins/snmp_discovery/config.json +++ b/front/plugins/snmp_discovery/config.json @@ -271,7 +271,7 @@ }], "description": [{ "language_code":"en_us", - "string" : "Only enabled if you select schedule in the DHCPLSS_RUN setting. Make sure you enter the schedule in the correct cron-like format (e.g. validate at crontab.guru). For example entering 0 4 * * * will run the scan after 4 am in the TIMEZONE you set above. Will be run NEXT time the time passes." + "string" : "Only enabled if you select schedule in the SNMPDSC_RUN setting. Make sure you enter the schedule in the correct cron-like format (e.g. validate at crontab.guru). For example entering 0 4 * * * will run the scan after 4 am in the TIMEZONE you set above. Will be run NEXT time the time passes." }] }, { diff --git a/front/plugins/unifi_import/config.json b/front/plugins/unifi_import/config.json index 74d8cf76..74c01060 100755 --- a/front/plugins/unifi_import/config.json +++ b/front/plugins/unifi_import/config.json @@ -391,7 +391,7 @@ }], "description": [{ "language_code":"en_us", - "string" : "Only enabled if you select schedule in the DHCPLSS_RUN setting. Make sure you enter the schedule in the correct cron-like format (e.g. validate at crontab.guru). For example entering 0 4 * * * will run the scan after 4 am in the TIMEZONE you set above. Will be run NEXT time the time passes." + "string" : "Only enabled if you select schedule in the UNFIMP_RUN setting. Make sure you enter the schedule in the correct cron-like format (e.g. validate at crontab.guru). For example entering 0 4 * * * will run the scan after 4 am in the TIMEZONE you set above. Will be run NEXT time the time passes." }] }, {